How to set cursor position on a table after CellSelectionCallback

1 Ansicht (letzte 30 Tage)
Ana
Ana am 13 Okt. 2015
Kommentiert: Ana am 13 Okt. 2015
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
  1 Kommentar
Ana
Ana am 13 Okt. 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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by