LABKEY.ext.Store and filters

LabKey Support Forum (Inactive)
LABKEY.ext.Store and filters Leo Dashevskiy  2013-01-11 13:28
Status: Closed
 
Hm, this question might be relevant all over again.

The approach recommended by Ben above does NOT seem to work anymore for 12.3, namely:

var strFilteredTable = new LABKEY.ext.Store({ sql: ... });
filterArrayToApply.push(
                    LABKEY.Filter.create(
                        <column name>,
                        <values separated by ;>,
                        LABKEY.Filter.Types.IN
                    )
                );

strFilteredTable.setUserFilters(filterArrayToApply);
strFilteredTable.load();

the filters are set, but the store's data itself does not get filtered.

Please, help!