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

Filter with DropDown

2 Answers 141 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dominik
Top achievements
Rank 1
Dominik asked on 21 Feb 2017, 03:11 PM

Hi,

I would like to add a Dropdown in one of my Filtercells. Every entry in the Column should be displayed in this dropdown so the user can choose just elements which are already in the column of the grid. Is there a property to achieve this behaviour or do I have to create a Customcontrol to handle this?


Could you please send me a simple example how to solve this task?

 

Sincerely,

Dominik Zöbl

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 22 Feb 2017, 07:16 AM
Hello Dominik,

Thank you for writing.

You can achieve this behavior by changing the editor type and using a RadDropDownListEditor. The following section in our documentation provides an overview of the different editors also shows how they can be customized: RadGridView | Editors.

I am also sending you attached a sample project demonstrating the suggested approach as well as a short video showing the result on my end.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Dominik
Top achievements
Rank 1
answered on 27 Feb 2017, 12:00 PM

Thanks a lot. The new Telerik Version fixed my problem.

 

Sincerely,

Dominik Zöbl

Tags
GridView
Asked by
Dominik
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Dominik
Top achievements
Rank 1
Share this question
or