Double click callback on a cell in uitable without Java?
显示 更早的评论
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.
回答(1 个)
Walter Roberson
2015-9-7
0 个投票
How about CellSelectionCallback and test the figure SelectionType property for 'open' ?
3 个评论
Song
2015-9-8
Stefanie Schwarz
2020-10-2
编辑:Stefanie Schwarz
2020-10-2
In R2020a and ealier, 'SelectionType' was not honorored by UItables; starting from R2020b, the above solution should work.
Jesse Hopkins
2025-3-3
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?
类别
在 帮助中心 和 File Exchange 中查找有关 App Building 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!