Dear Members!
I display a list of data in the XamDataGrid and the data should be sorted and group by a certain field. As I have to display additional information in the group header, I created a property where I build the display information. The additional information is coming from the child and subchild records of my dataitem.The additional property is added to the fields. The visiblity of the field is set to collapsed. The group header information is correctly shown in the XamDataGrid.
But after the self built group header i have the "(X items)" information. Is there a possibility to disable the Count feature like in the XamGrid by setting
<ig:XamGrid.GroupBySettings> <ig:GroupBySettings DisplayCountOnGroupedRow="False" /> </ig:XamGrid.GroupBySettings>
Thank you for the information.
Hello grubarec,
Thank you for your post.
The count that you are seeing in the group by header presenter of the XamDataGrid is coming directly from the Description property of the GroupByRecords that exist in the XamDataGrid after grouping your grid. This property can be modified, and so to remove the count from your GroupByRecords, I would recommend handling the Grouped event of the XamDataGrid, looping through each GroupByRecord that will then exist in the XamDataGrid.Records collection, and parsing the Description property of each to remove the count and show the value that you would like to show.
I have attached a sample project to demonstrate the above. I hope this helps you.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate Developer