Using v 2013.1. In javascript grid.get_rows() fails. Object doesn't support property or method 'get_rows'. I am using the Hierarchical Grid and do have the 'grid' object reference. I am able to use this on a WebDataGrid, so is there another method I need to use for Hierarchical?
function WHG_Initialize(sender, eventArgs) {
var grid = $find("WHG");
var rows = grid.get_rows();
}
Fantastic .. I knew it was something simple, but I could not find it in the client object model. Thanks !
Hi,
Thank you for using our forum.
When you want to get rows in the root of Hierarchical Grid you have to call grid.get_gridView().get_rows(); instead of grid.get_rows();
Please let me know if I can provide any further assistance.