How to set cursor position on a table after CellSelectionCallback

1 view (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 13 Oct 2015
  1 Comment
Ana
Ana on 13 Oct 2015
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?

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!