question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature]: Option to auto commit inline editor when editor looses focus

See original GitHub issue

I’m submitting a feature request

  • Framework Version: current

  • Browser: all

  • Language: TypeScript

Current behavior: Inline editors do not commit the value to the grid unless the user selects another cell or hits the enter/tab key. Some references to this issue include:

https://coderwall.com/p/vztjkg/make-sure-slickgrid-commit-the-changes-when-click-on-submit-button-without-move-focus-out-of-the-input

https://github.com/mleibman/SlickGrid/issues/873

Expected/desired behavior:

  • What is the expected behavior? We could add a grid or editor option flag to commit on blur/focusout so the value in the editor is commited when the editor looses focus

  • What is the motivation / use case for changing the behavior? It is more natural for a user to change the value in an inline editor and then navigate away from the grid to either save the values or do something else. I wanted your thoughts on this to see if it will be a useful feature for this library. I have not solved it in my app yet because the select editors act different when the focusoutevent ocurrs, which is the event i was listening for.

2018-06-28_08-17-45

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
jmzagorskicommented, Aug 7, 2018

I have the logic in my app, just haven’t had time to test it in your library yet, and I need to check the slider works as well. I can start working on it tomorrow

1reaction
jmzagorskicommented, Jun 28, 2018

i have a solution that may work. now i just need to find time to make the PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

Focus tracking - CKEditor 5 Documentation
To make sure the editor (as a whole) never loses focus unless the user wants it to. For instance, take a look at...
Read more >
Angular slickgrid multiselect editor field needs to remove the ...
I already enabled autoCommitEdit property in grid options. But it working while changing the values, but without changing value the editor focus ......
Read more >
Nova Settings - Panic
Automatically select focused files: When enabled, Nova will automatically select whichever file is currently focused in the Editor in the ...
Read more >
Developer friendly HTML text editor - TinyMCE
Developer friendly HTML text editor for internal and SaaS applications that is easy to implement, customize and maintain.
Read more >
DataTables example - Editing options - submit on blur
First name Last name Position Office Start date Salary Airi Satou Accountant Tokyo 2008‑11‑28 $162,700 Angelica Ramos Chief Executive Officer (CEO) London 2009‑10‑09 $1,200,000 Ashton Cox...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found