Double click callback on a cell in uitable without Java?
Afficher commentaires plus anciens
After google-ing for a while, I cannot find a feasible solution to realize the double click callback on a cell in uitable.
Does anyone have a better idea or workaround for this? without java or findjobj.
Réponses (1)
Walter Roberson
le 7 Sep 2015
0 votes
How about CellSelectionCallback and test the figure SelectionType property for 'open' ?
3 commentaires
Song
le 8 Sep 2015
Stefanie Schwarz
le 2 Oct 2020
Modifié(e) : Stefanie Schwarz
le 2 Oct 2020
In R2020a and ealier, 'SelectionType' was not honorored by UItables; starting from R2020b, the above solution should work.
Jesse Hopkins
le 3 Mar 2025
Using 2021B at the moment, and above solution **mostly** works, except if one double clicks a cell that's already selected. In this case, the CellSelectionCallback is never fired at all. Curious if there's any solution for detecting a double-click in a cell that's already selected?
Catégories
En savoir plus sur App Building dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!