How to set cursor position on a table after CellSelectionCallback

4 vues (au cours des 30 derniers jours)
Ana
Ana le 13 Oct 2015
Commenté : Ana le 13 Oct 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

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by