mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

Slickgrid header row filtering empty cells not working in example #1179

Closed dysticus closed 6 years ago

dysticus commented 6 years ago

I was looking into this example and saw that filtering does not happen when searching for empty cells. This means I typed any string in the filterbox and then removing the string. However, when debugging it locally and making some cells empty, I saw that dataview.refresh() is called upon an empty input, the grid just doesn't display the empty cells.

In my application I have a use case where one might want to search for all cells that have no content, so my question is, is this something that can be changed, or is it baked deeply under the Slickgrid hood?

I can understand the use case in the linked example, as it already loads the filters on page load, but in my application the filter is only applied after a confirmation button click.

Thanks for your help.

6pac commented 6 years ago

Answered on StackOverflow. Note that this repo is no longer active, you should use: https://github.com/6pac/SlickGrid/wiki

dysticus commented 6 years ago

Thanks for the response, I'll close this.