bbGrid icon indicating copy to clipboard operation
bbGrid copied to clipboard

Default value for a filter

Open MadeByKarl opened this issue 9 years ago • 3 comments

Hello! I can't figure out how to set a default value for a column filter. I'd like to do something like the following example but I'm not sure how to achieve this :/.

colModel: [ ...
{title: 'Status', name: 'status', index: true, filter: true, filterValue: 'Open'}, ... ]

Any help greatly appreciated! :)

MadeByKarl avatar Feb 10 '16 14:02 MadeByKarl

Help or pointers anyone?

MadeByKarl avatar Feb 16 '16 07:02 MadeByKarl

I believe the property you are looking for is called filterColName .

unematiii avatar Oct 27 '16 15:10 unematiii

Hey, thanks for the reply. Meanwhile I worked something more as a work-around but I'll check this when I get back to this project. Cheers.

MadeByKarl avatar Oct 31 '16 08:10 MadeByKarl