TableFilter icon indicating copy to clipboard operation
TableFilter copied to clipboard

Default filter type for all columns

Open juamar opened this issue 4 years ago • 1 comments

Hi, I was wondering if there was a way to set default filter types, for example, to checkbox. I will like in a table filters to be checkbox. Right now, as the default is input, i have to set all columns "manually" to checkbox.

thanks in advance.

juamar avatar Jun 02 '21 18:06 juamar

https://github.com/koalyptus/TableFilter/blob/7afe45f1e6d46ef97ea20ac47bc4ee961b5d231f/src/tablefilter.js#L189

I was coming to create an issue myself for this, but it would appear you've beaten me to it. The above line of code represents the point of change, though it would need a settings change in order to handle it.

I would create a PR for this myself but I'm tied up on other coding projects right now, maybe you could give it a go @juamar ?

netniV avatar Sep 20 '21 12:09 netniV