Is it possible to use manual load on demand while defining a band with the column configuration?
Also, is it possible to have the child table share headers/columns with the parent?
Hello aveshjain ,
Yes. The expanders are forced by the IsEmptyParent property that you set for the rows during InitializeRow event and the RowIslandsPopulating event is canceled so the control over the child rowIslands is completely manual. On the first load you only need to provide the data source for the parent grid.
Let me know if you have any further questions or concerns.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Thanks. Will this approach work if you don't have the child data until the user actually expands the parent?
Hello aveshjain,
Thank you for posting in our forum.
You can and should define a band if the bands are not autogenerated: AutoGenerateBands="False" .Otherwise you can’t manually force the expand symbol to show and let you manually load the new row islands on expand.
I’m attaching a sample for your reference with this.
Regarding the sharing of headers and columns this is currently not a supported functionality. You can disable the child rowislands their headers and align them directly below the parent without indentation and use only the parent’s column headers.
To remove the headers for the child row islands that you manually create just set: child.ShowHeader = false;
To dismiss the indentation for the child container just override the default css for it by setting:
tbody>tr>td.ighg_ExpandableArea
{
padding-left:0px;
}
I’ve added this to the sample as well. Let me know if you have any further questions.