Hi,
I'm trying to get a hold of the rowindex in javascript. I'm currently getting it by using code found in another post in this forum. However; when the grid has lots of rows, the code becomes very slow and sometimes even freezes the browser.
My current code:
Is there a better, more optimalized way to do this?
I'm trying to get a hold of the rowindex in javascript. I'm currently getting it by using code found in another post in this forum. However; when the grid has lots of rows, the code becomes very slow and sometimes even freezes the browser.
My current code:
| function RowClick(sender, eventArgs) { |
| try { |
| sender.get_masterTableView().get_dataItems(); |
| var selectedItem = sender.get_masterTableView().get_selectedItems()[0]; |
| var index = selectedItem._itemIndexHierarchical; |
| ... |