Double click callback on a cell in uitable without Java?

조회 수: 4 (최근 30일)
Song
Song 2015년 9월 7일
댓글: Jesse Hopkins 2025년 3월 3일
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
Walter Roberson 2015년 9월 7일
How about CellSelectionCallback and test the figure SelectionType property for 'open' ?
  댓글 수: 3
Stefanie Schwarz
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
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by