ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

ui-grid end editing without blur

Open fgaonet opened this issue 10 years ago • 5 comments

Please make sure each of the following is true before submitting a new issue. We are a small team with limited time and it is very difficult to manage issues if they aren't reported correctly.

  • [ x] This is a bug report, not a question on how to use the grid.
    Use Stack Overflow or Gitter for questions.
  • [x ] You have searched the open issues to see if this bug has been filed before. We don't want duplicate issues.
  • [x ] You have reviewed the tutorials and documentation to ensure you are using the grid correctly. ui-grid.info
  • [x ] You are using the latest version of the grid. Older versions are not patched or supported.
  • [x ] You have provided steps to recreate your bug. A plunkr is even better.

fgaonet avatar Apr 04 '16 23:04 fgaonet

I am using an ui-grid with cell edit enabled. I applied a editableCellTemplate as: 'input type="number" ui-grid-editor ng-model="MODEL_COL_FIELD" /'

I need to raise update on "change" instead of "blur". I tried many way on the template, but still have to blur the input to get update.

Is there any simple way to override the "blur" to "change"? It is default update behavior on Angularjs input, but it seems not working within angular ui-grid.

Thanks,

fgaonet avatar Apr 05 '16 00:04 fgaonet

Did you try ng-model-options?

stevenlius avatar Apr 06 '16 15:04 stevenlius

Yes. I tried it, but no help. Actually, the default behavior of ng-input in my template should be "update on change". I used other similar input on my page (out of ui-grid), and all of them "update on change" by default.

I think ui-grid cellEdit fires update on blur by default. I just don't know how to override this default behavior on ui-grid.

Any idea?

Thanks,

fgaonet avatar Apr 06 '16 15:04 fgaonet

+1

novitoll avatar May 27 '16 02:05 novitoll

Thanks for contributing! This repository has been transferred, and we're preparing the new 5.x release. We're closing older issues and pull requests as part of the reset. Please join us on Discord to follow the work or continue the conversation: https://discord.gg/Baz4w8ZWN

orneryd avatar Aug 12 '26 23:08 orneryd