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

Only apply filter if column visible

1 Answer 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 11 Jun 2015, 03:10 PM
Hi, I am supporting a grid which dynamically hides/shows a filterable column.  When the user filters on that column, it's fine.  However, when the column is hidden, the filter still remains.  Is there anyway to only filter on visible columns without resetting the filter value?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 15 Jun 2015, 01:44 PM

Hello Bob,

 

I would suggest you to use the columnHide event in order to get the column, which is being hidden. In this case you can set the new filter configuration using the filter method. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or