NatTable Auto Focus functionality [message #1277834] |
Wed, 26 March 2014 14:24 |
pawan kalyan kalyan Messages: 3 Registered: March 2014 |
Junior Member |
|
|
I have a NatTable instance and I am trying to do something like this : Upon click of a link, one of my NatTable grid's cells should be selected (auto-focused) i.e., once the link is clicked, the cursor should be placed inside a specific cell and highlight the cell. In some threads on internet, I found that the usage of SelectCellCommand and EditSelectionCommand would help and I did the below :-
natTable.doCommand(new SelectCellCommand(getSelectionLayer(), 4, 0, true, true));
natTable.doCommand(new EditSelectionCommand(parent, configRegistry));
However, I do not see any effect. Can somebody please help me implement this? If this block of code is not giving enough information, let me know. (Here getSelectionLayer() gives me the Selection Layer instance)
Thanks,
Pawan Kalyan.
|
|
|
|
Powered by
FUDForum. Page generated in 0.01820 seconds