This is a migrated thread and some comments may be shown as answers.

Making filterable.extra 'false' in a declarative grid

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 18 Jun 2013, 03:48 PM
I have a declarative grid inside a template and I'd like to allow the columns to be filterable, but with filterable.extra set to 'false'. Is this possible?
Here's a JSBin example

I've tried every variation of data-filterable-extra="true" / data-filterableextra="true" / data-filterableExtra="true" / etc...
Ideally, I'd only have the input box and assume that the search method is 'contains'.

Note that this lives within a template, and that I need to loop through an array to get the values, so my implementation actually looks more like this.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dan
Top achievements
Rank 1
answered on 18 Jun 2013, 04:38 PM
Nevermind, got it (thanks OnaBai):
data-filterable="{extra : false}"

http://jsbin.com/inikib/4/edit
Tags
Grid
Asked by
Dan
Top achievements
Rank 1
Answers by
Dan
Top achievements
Rank 1
Share this question
or