GriddleGriddle / Griddle

Simple Grid Component written in React
http://griddlegriddle.github.io/Griddle/
MIT License
2.5k stars 378 forks source link

how to stop filtering on not visible field? #725

Closed jariwalabhavesh closed 6 years ago

jariwalabhavesh commented 7 years ago

1.8.0

Expected Behavior

"filterable" is working as expected on visible field.

Actual Behavior

But In actually filtering is also filtering data from hidden field as well. so if we something type in search filter and it will return result as well still it is not matching in visible filterable columns.

Steps to reproduce

1.You can see this in storybook example page given in griddle It is under with local and filterable set example.

  1. Just type "unit" in searchbox above grid.

  2. It will return you three result. screen shot 2017-08-22 at 2 54 53 pm You can see in above image that none of record and none of there field contents unit but actually unit is exits in country field which is not visible.

As i remember in griddle version 0.x has same behaviour. how i can stop filtering on hidden fields in grid(version 1.x).

mbland commented 6 years ago

This bit me too; filed #800.