The item's hierarchical index is set when the grid is bound. Hence only the expanded groups contain rows. In other words, only the rows which belong to the expanded groups are rendered. If the GroupLoadMode
is set to "server", and the groups are collapsed, it is expected the collection returned from get_dataItems()
method to contain only rendered rows.
To get the data item with masterTableView.get_dataItems()[indexJustReturned]
method, you need to set the GroupLoadMode
to "Client". Thus all rows are rendered even if they are not shown when the group is collapsed. In this case the get_dataItems()[indexJustReturned]
item will be the correct one.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.