telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
463 stars 213 forks source link

[Grid] Inability to filter columns by empty string values #4346

Open zstoyanova9 opened 4 days ago

zstoyanova9 commented 4 days ago

Describe the bug When the data of the Grid component contains fields with empty string values, there is no available way to filter the corresponding column by these values in any of the filter modes. Using the "is empty" and "is null" operators also do not work in this case, since there is an actual value in the cells, which is neither null nor undefined.

To Reproduce

  1. Open the following StackBlitz example - https://stackblitz.com/edit/angular-9p6qqm
  2. Try to filter the "Product Name" column by the empty string values through any of the filter modes (typing a space in the filter row or the filter menu with the "is equal to" operator)

Expected behavior The user should be able to filter the Grid column by an empty string.

Additional context Filtering by an empty string is possible in both React and jQuery suites: React - https://stackblitz.com/edit/react-9lqmjr-2mgewa?file=app%2Fapp.jsx jQuery - https://dojo.telerik.com/eyIwUvuh