filterBar not working on template type columns

Our blazing fast Grid component built with pure JavaScript
Post Reply
User avatar
dzyubam
Posts: 3
Joined: Wed Jan 30, 2019 1:31 pm

filterBar not working on template type columns

Post by dzyubam » Wed Jan 30, 2019 3:05 pm

Hi,

I've tested to add a simple filter to "columntypes" Grid 1.2.2 example and I don't get any rows returned neither with partial nor exact matches.

I've changed the Grid settings in the example above with this:

Code: Select all

features : {
        filterBar : true
},
So neither "Template" nor "Link" column filters work after the change above. Other column filters like "Percent" and "Custom" work just fine.

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 1728
Joined: Fri Apr 01, 2016 11:08 am

Re: filterBar not working on template type columns

Post by pmiklashevich » Wed Jan 30, 2019 6:36 pm

Hello,

According to our docs "the actual filtering is done by the store". Template and Link columns are template columns and both are using "name" field as a reference to the data. So you need keep in mind while filtering that the input will be used to match the data.

Best,
Pavel
Pavel Miklashevich - Core Developer

User avatar
dzyubam
Posts: 3
Joined: Wed Jan 30, 2019 1:31 pm

Re: filterBar not working on template type columns

Post by dzyubam » Thu Jan 31, 2019 10:33 am

Thank you, Pavel. I'll check what field is mapped to the column that is not working in our environment.

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 1728
Joined: Fri Apr 01, 2016 11:08 am

Re: filterBar not working on template type columns

Post by pmiklashevich » Thu Jan 31, 2019 11:22 am

We've opened a feature request to make users able to provide a custom filter function to the column. See here: https://app.assembla.com/spaces/bryntum/tickets/7580
Pavel Miklashevich - Core Developer

User avatar
dzyubam
Posts: 3
Joined: Wed Jan 30, 2019 1:31 pm

Re: filterBar not working on template type columns

Post by dzyubam » Thu Jan 31, 2019 11:47 am

Nice, thank you!

User avatar
johan.isaksson
Core Developer
Core Developer
Posts: 280
Joined: Tue Apr 12, 2016 9:50 pm

Re: filterBar not working on template type columns

Post by johan.isaksson » Thu Mar 07, 2019 11:32 am

The ticket has been resolved. The changes should appear in nightlies tomorrow and will be part of the next major release (2.0)
Best regards,
Johan Isaksson

Post Reply