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

RadGrid With one filter, apply other columns

1 Answer 261 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bruno
Top achievements
Rank 1
Bruno asked on 01 Oct 2019, 01:00 PM

Hi Guys

I have a radgrid, with multiple columns. Four of them, have the same content, is there a way that using the first column filter, the other with the same content?

Thanks in advance.

Example 

Column A      Column B      Column C      Column D
Spain            Spain             Poland           Italy
France          Germany        France           Denmark
Italy               USA               Germany       Spain

Using Column A filter = Spain

Column A      Column B      Column C      Column D
Spain            Spain             Poland           Italy
Italy               USA               Germany       Spain

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 04 Oct 2019, 08:35 AM

Hi Bruno,

 

Yes, this is possible. If the paging is disabled, you can use this client-side approach:
https://www.telerik.com/support/code-library/quick-search---filtering-rows-depending-on-entered-text-instantly-when-paging-is-disabled

If the paging is enabled, you can use the FireCommandMethod to fire a custom Filtering command:
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/control-lifecycle/how-to-fire-command-events

I am sending 2 web site samples which you can use as a reference.

I hope this will prove helpful. Feel free to give it a try and let me know if I can assist with anything else.

 

Regards,
Eyup
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Bruno
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or