As we can do when we drag a column in the GroupPanel, I want to do it by C# code to make a group column by default since my columns are added dynamicly by code.
How do you do that ?
I don'T see something like GroupBy or anything that let me group a column.
Where do I go, I tried looking at your demos and nothing there show me how to do it by C# code
5 Answers, 1 is accepted
When I try to sort it askes for a System.ComponentModel.ListSortDirection which I cannot figure out how to use
I mean usually when you use SortDirection = after the = the intellisence should kicks in to let you choose the sorting direction no ?
this works except that SortDirection have no intellisence kicking in and ListSortDirection is in System.ComponentModel
Why it isn't internal to Telerik controls ?
I have a method that creates columns in the grid and since the SortDirection is weird, I have to do this in my code because the SortDirection doesn't match the sorting of a column.
And it's even more complicated since ListSortDirection doesn't even have a None so using it as parameters forces us to have overloads
Sorting and grouping should be as straightforward as :
Still, your scenario poses a bit of a problem but you can easily write a function that converts SortDirection to ListSortDirection and use it in your application:
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.