In order to expand or collapse rows on the client you need to call the toggleRow JavaScript Function.
Sample Code and Explanation
igtbl_toggleRow(gn,srcRow,expand)
Parameter descriptions:
- gn = The name of your grid. srcRow = The ID of the row you want to expand or collapse. expand = true expands the row, false collapses it.
Examples (JavaScript)
To expand Row 0 of your UltraWebGrid:
igtbl_toggleRow('UltraWebGrid1','UltraWebGrid1r_0',true);
To collapse Row 0 of your UltraWebGrid:
igtbl_toggleRow('UltraWebGrid1','UltraWebGrid1r_0',false);
ms-help://INFRAGISTICS_HELP/INFRAGISTICS_WEB/Infragistics.WebUI.UltraWebGrid.v3/Infragistics.WebUI.UltraWebGrid.v3/Expand_and_Collapse_Rows_on_Client-Side.htm