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
315
Clientside Access Selected Row in ChildBand
posted

I am new to Infragistics controls. I am currently using a HierarchialDataGrid.

I found the way to obtain the datakey value for the selected row (inside the rowselectionchanged
client-side event handler) for the root band using the following code.

var grid = $find("wsHierarchyEditGrid");

var rowid = grid.get_gridView().get_behaviors().get_selection().get_selectedRowsResolved()[0].get_dataKey();

But this does not work for the child band. Can someone please assist with how to retrieve
the datakey value for the selected child band row?

Thanks!

Parents Reply Children