Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
920
rowSelectionChanging Event of igHierarchicalGrid
posted

Hi,

I'm working with igHierarchicalGrid in JavaScript, where I have to get ID from row of parent grid while selecting child grid row. So in parent grid rowSelectionchanging event I'm getting my ID value, which is fine only when I expand one row in parent grid at one time but if I expand another row(s) at same time and my _row value multiple by 2 every time. Suppose if I expand 3rd row of parent grid and get _row = 6. Below is the piece of my code.

rowSelectionChanging: function (evt, ui) {

var _row = ui.row.index;

var dataview = $("#Grid").data("igGrid").dataSource.dataView();

ID = dataview[_row]["ID"];

}

Please advise any help.

Thanks