Hello, How can I remove the Close icon in GridView GroupPanel see attached image. I just want to use the sorting function of the group column or any work around to enable the user to sort the group.
When you drag a certain column and drop it onto the GroupPanelElement, the grid data is grouped by this column. Each GroupFieldElement shows a close button by which you can remove the specific GroupDescriptor. Clicking over the GroupFieldElement changes the groups sort order (ascending or descending). Please refer to the attached SortGrouping.gif file. In order to hide the close button, you should subscribe to the GroupByChanged and set the RemoveButton.Visibility property to false for each GroupFieldElement:
Note that in this case in order to remove the GroupDescriptor, you should drag the GroupFieldElement and drop it between the grid header cells. This behavior is demonstrated on the attached RemoveGrouping.gif file.
I hope this information helps. Should you have further questions, I would be glad to help.
Regards,
Desislava
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.