This is a migrated thread and some comments may be shown as answers.

Sorting with Multi select filter in Grid

2 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Madhu
Top achievements
Rank 1
Madhu asked on 28 Apr 2015, 07:02 PM

Hi,

 I am using Multi select filter in the grid. The requirement for me is to sort the items in the filter list by alphabetical order. Can some one tell me how can i sort that list

I am using this following code and it is working fine as expected, but i want to sort the list

                 columns.Bound(p => p.Name).Width(300).Filterable(x => x.Multi(true)).Lockable(false);

2 Answers, 1 is accepted

Sort by
0
Madhu
Top achievements
Rank 1
answered on 29 Apr 2015, 05:48 PM
I achieved this using data source that will return me the sorted list. But if there is a way to do this without data source let me know
0
Daniel
Telerik team
answered on 30 Apr 2015, 03:44 PM
Hello,

I am afraid that the grid does not currently expose any options for the default dataSource. Using a custom dataSource will be needed in order to change the order.

Regards,
Daniel
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Grid
Asked by
Madhu
Top achievements
Rank 1
Answers by
Madhu
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or