Our blazing fast Grid component built with pure JavaScript


Post by dzyubam »

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:
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.

Post by pmiklashevich »

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

Pavlo Miklashevych
Sr. Frontend Developer


Post by dzyubam »

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

Post by pmiklashevich »

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

Pavlo Miklashevych
Sr. Frontend Developer


Post by dzyubam »

Nice, thank you!

Post by johan.isaksson »

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