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

Column filter 'multi' type with missing values

3 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Skyler
Top achievements
Rank 1
Skyler asked on 12 Dec 2016, 09:09 PM

We have a use case to choose missing values from a specific column. Missing values are left undefined on the data source. As of now, using a kendoFilterMultiCheck filter will automatically not include these values in the filter list of the dropdown. Our users wish to see rows that have a blank, missing, null value in this column. The filter also doesn't behave as expected in this regard. The following workflow will not have expected results:

1. Choose the "select all" option to filter the column

2. Apply filter

3. Uncheck the "select all" option

4. Apply filter

 

The resulting grid will have all blank values missing.

 

I've included a sample that demonstrates our use case.

http://dojo.telerik.com/eDECe

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 14 Dec 2016, 12:23 PM

Hello Skyler,

I followed the provided steps, but I am not able to replicate any issues. Please find attached a small video capturing my screen while following the steps (for selecting/deselecting items and applying filters). 

Regards,
Boyan Dimitrov
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
Skyler
Top achievements
Rank 1
answered on 14 Dec 2016, 03:51 PM

Thanks for the reply.

I believe what happened here is that I was experimenting on that dojo link in an attempt to find a workaround. This link is the same dojo but with a slight change that reflects our use case (the data object with id of 3 actually has no name property as opposed to a name property of an empty string).

Sorry for the confusion.

 

http://dojo.telerik.com/eDECe/21

0
Boyan Dimitrov
Telerik team
answered on 16 Dec 2016, 12:49 PM

Hello Skyler,

Actually the initial approach demonstrated in the http://dojo.telerik.com/eDECe is the correct one. Value for the field should be defined an empty string. If the field is not defined at all it will not be shown in the filter menu. In this case select all will select all records with values different than empty string. 

Regards,
Boyan Dimitrov
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.
Tags
Grid
Asked by
Skyler
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Skyler
Top achievements
Rank 1
Share this question
or