How to set cursor position on a table after CellSelectionCallback

1 次查看(过去 30 天)
Hello,
I am having some problems with adding a hint text on a table cell. I want a text to be displayed on the cell until the user clicks on that cell. I have used the CellSelectionCallback to remove the text once clicked, but I don't want the scroll to move its posittion and I need the cursor position to stay in the cell after updating. Does anyone know if this is possible and how to do it?
Thank you very much in advance,
Ana

回答(1 个)

Walter Roberson
Walter Roberson 2015-10-13
  1 个评论
Ana
Ana 2015-10-13
Thank you for your quick answer.
I could see there is some solution for editboxes, but in tables I have only managed to solve the scroll problem (not completely, since you can see how it goes up and the down again, but it can be ok), but I cannot reset the cursor position in the cell. Is there any solution for this?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by