How to get index of selected Text from a particular cell ?
After using hot.getSelected()[0][0] , I am getting a particular cell , From that I need to pick index of selectedText inside cell…
How to get index of selected Text from a particular cell ?
After using hot.getSelected()[0][0] , I am getting a particular cell , From that I need to pick index of selectedText inside cell…
You can use afterRenderer
hook to get the information about the value, and row and column indexes:
Hi ,
Thanks for ur reply ,
Actually I need cursor position (index ) inside selected cell …
Ex : Inside one cell , Data : TEST , I need position of E .
Ok, I understand. So for getting the indexes after selecting the cell you can use afterSelection
hook. Here’s an example:
Thanks