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.

Add table-cell change callbacks

See original GitHub issue

As pointed out by @pranathivemuri in https://github.com/napari/magicgui/pull/182#issuecomment-812670169 … magicgui Table doesn’t yet have a good way to bind a callback to a change event on a cell or a group of cells. (It was left for a later PR, and that time has come! 😄 )

https://github.com/napari/magicgui/blob/a07b6d3885fb63a6d7947fbb03fc90a971759006/magicgui/backends/_qtpy/widgets.py#L828-L832

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tlambert03commented, Apr 2, 2021

feel free to point me to code if you need help

1reaction
pranathivemuricommented, Apr 2, 2021

nice, thanks! I will just have to figure out passing this to current_properties in napari shapes layer to change the label for that bounding box. So far so good, thanks for all the example code! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass callback from TableView to TableView Cell?
I need to pass callback from tableView to the exact tableCell which triggered the action so that I can change visibility of a...
Read more >
Changing Table Cell Attribute in Callback - NI Community
Hi, I have a table full of string cells. Only strings of certain formats are considered valid for this application, so I would...
Read more >
Adding a Cell Selection Callback to a Table in My MATLAB App
Here, I add a cell selection callback to a table in one of my MATLAB apps by copying this functionality from another app....
Read more >
Add callback when editing on cell is cancelled #684 - GitHub
In version 1.2.2 of react-bootstrap-table2-editor, it is possible to be notified when a cell enters the editing state using onStartEdit.
Read more >
columns.createdCell - DataTables
This is a callback function that is executed whenever a cell is created (Ajax source, etc) or read from a DOM source. It...
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