Hi,
We are using XAM Grid and we want to add expander in a row, so that as we expand the row, more data will be shown in a grid. Is there any property in XAM grid.
Please let us know.
Thanks
Hi Kanwar,
The only way the row expanders are going to be visible is if the row has at least one child row. This means that your ItemsSource needs to be hierarchical and each of your parent data items need to contain at least 1 child item. Then what you can do is handle the RowExpansionChanging event to detect when a user is expanding a parent row and then load in your actual child data. If you want to display that child data in a custom way then you can use a TemplateColumnLayout and provide your own DataTemplate for the child data.
http://help.infragistics.com/doc/WPF/2015.2/CLR4.0/?page=xamGrid_Defining_Hierarchical_Layouts.html
http://help.infragistics.com/doc/WPF/2015.2/CLR4.0/?page=xamGrid_Template_Column_Layout.html
http://help.infragistics.com/doc/WPF/2015.2/CLR4.0/?page=InfragisticsWPF4.Controls.Grids.XamGrid.v15.2~Infragistics.Controls.Grids.XamGrid~RowExpansionChanging_EV.html