PDA

View Full Version : [4.0.1] Ext.util.MixedCollection cannot filter exact numeric values



medusadelft
5 Jun 2011, 1:44 PM
When I have a store with (multiple columns of) id's and I want to filter on, let's say: 1, I get more than 1 result (eg.: 1, 10, 11, 12, 13...).

According to the on-line documentation for Ext.util.MixedCollection, I have the properties anyMatch and caseSensitive, which don't work. I do need to pass them as an object to filter:

Ext.myStore.filter({ property: 'some_id', value: 1, anyMatch: false, caseSensitive: true })

This doesn't work: Ext.myStore.filter('some_id', 1, false, true).

Setting the type to 'int' for these (multiple columns) id's in the Model, doesn't work.

Please fix.
Maurice.