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

column filterable cell template - input item not raising an event on filter clear?

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dierik Vermeir
Top achievements
Rank 1
Dierik Vermeir asked on 21 May 2015, 01:12 PM

Hey,

A "simplified" example of my problem:

http://dojo.telerik.com/UxEsU

Steps to reproduce:

Click on the 'Active' button to filter on that column

Click on the 'X' button to remove the filter from that column.

Problem:

=> no event was thrown on this last action  => the 'Active' button remains selected

Yet the underlying input box (not hidden here for debug purposes) is changed.

Questions: 

Which event is raised on removing this filter?

Is there a better way to achieve this?

 

 

What am I trying to do?

I have a lot of grids who use boolean values.  With the Template of a column I can show a Human Friendly string.

I'm trying to reuse this template to make the Filtering on that column also user friendly (instead of the  Istrue and IsFalse that is shown by default)

As per customer request I'm using buttons instead of the default radio boxes.  But that should not affect my problem imho?

 

Thanks in advance.

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 25 May 2015, 08:55 AM
Hello Dierik,

You can try subscribing to the change event of the model to which the filter menu is bound, as shown in this proof of concept example.

Regards,
Alexander Popov
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
Dierik Vermeir
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or