How to set cursor position on a table after CellSelectionCallback

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

Antworten (1)

Walter Roberson
Walter Roberson am 13 Okt. 2015

0 Stimmen

1 Kommentar

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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

Ana
am 13 Okt. 2015

Kommentiert:

Ana
am 13 Okt. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by