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

How to filter on multiple values in a custom filter (Combobox with Checkboxes)

2 Answers 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 09 Nov 2011, 09:08 AM
Hello,
I need to have a grid with Custom Filters. Those filters needs to be comboboxes with checkboxes.
I started from http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx.
I can successfully run the sample & I modified the combobox (checkboxes=true) to display all items with checkboxes.
Now I've 2 issues :
1°) When I filter on 1 checkbox from the combobox "Country", it works. But when I check 2 checkboxes (2 countries), I can not have results.
Do you have another sample or a doc explaining how to handle multiple selections for 1 filter ? Or any tips to explain how to do that ?
2°) The custom filters column are not sortable, how to have them sortable too ?

Nicolas

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 09 Nov 2011, 11:46 AM
Hello,

please check this link.

Thanks,
Jayesh Goyani
0
Nicolas
Top achievements
Rank 1
answered on 10 Nov 2011, 09:45 AM
Thanks a lot, I will take a look.
Tags
Grid
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Nicolas
Top achievements
Rank 1
Share this question
or