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 Request: callback on user attempting to enter editor mode on cell, even if allowOverlay: false

See original GitHub issue

As the title suggests, I’d like to propose a callback for when a user presses enter or clicks on an already selected cell (ie, performs an action that would generally open up an editor), regardless of whether the cell can enter editor mode, and gives at least [row, column] information.

My use case would be to allow the user to press enter or double click on a cell / row to open a modal or perform some other action outside the purview of glide-data-grid. onCellClicked misses out on the user pressing Enter.

I know there are a lot of moving pieces in 4.0.0 right now, but I don’t think there is a callback is available to achieve this.

Potential names: onCellActivated? onCellSecondClickOrEnter?

Related to #120

Thoughts?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ivoelbertcommented, Mar 28, 2022

We’ll trigger an onCellActivated event on those cases. Working on it.

0reactions
reczycommented, Mar 30, 2022

Thank you. Very much appreciated!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ag-Grid Prevent API.StopEditing() callback when editing next ...
This works fine. But when I enter into a cell for the purpose of editing, all other cells back to normal mode from...
Read more >
glide-data-grid/API.md at main - GitHub
You have to do so yourself when one of the callbacks is invoked. For example, when the user edits the value in a...
Read more >
Editor permissions for feature services—ArcGIS Server
Feature services allow you to control what types of edits users can make to the service. You can specify edit settings when you...
Read more >
dependent() not setting new value — DataTables forums
Hi. Per the example of the documentation in dependent() , I wrote something like: editor.dependent('field1', function (val, data, callback, ...
Read more >
Incorrect Editor Tracking for feature services... - Esri Community
These aren't high traffic services so in order to save on server resources the services were set to use the shared instance pool...
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