In code like this...
pagesGridView.GroupDescriptors.Add( |
new GroupDescriptor { |
Member = "CmsPageParent.Title", |
SortDirection = ListSortDirection.Ascending |
} |
); |
How do I set the "title" property of the group? I need to simulate the grouping of a column named “Parent” – as far as I can see I cannot mark a column as a default grouping set so I need to do it programmatically. However when I do it this way the resulting item in the group header says “CmsPageParent.Title” not “Parent” as the header for the same column would.
Ideas?