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

Filter Detail Rows with multiple combobox values

1 Answer 51 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Kris
Top achievements
Rank 1
Kris asked on 13 Apr 2020, 08:20 PM
Hi I am wondering if it is possible to do filtering of detail rows using for example 2 combobox or dropdownlist values. Like if I select 1 dropdown value "Fred" I get all entries within that detail row matching "Fred" name field and then if I select "Blue" from second dropdown I get all matches of Name: "Fred" with Color: "Blue" .

1 Answer, 1 is accepted

Sort by
0
Accepted
Viktor Tachev
Telerik team
answered on 15 Apr 2020, 02:02 PM

Hello Kris,

 

Out of the box when the Grid is showing hierarchy each detail Grid will be a separate Grid instance with a separate DataSource. Thus, filtering all detail grids would mean that the filter operator should be initiated for each one. 

In order to filter all detail grids you could use jQuery to retrieve all detail rows in the Grid and get reference of the respective Grid widgets. Then call the filter method for each of the Grids DataSource to apply the filters. 

 

 

Regards,
Viktor Tachev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Filter
Asked by
Kris
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or