Filters Not Working

I’m having similar problems to those discussed in question 3988. I’ve verified that my XML does indead contain unique IDs, see this example:







2002-06-09

2008-12-31

1555026

1554139.487200





2004-03-17

2008-12-31

717700

278870.908250









So, that’s not the problem. Here’s the JS I’m using to create my grid:



campaigns_grid = new dhtmlXGridObject(‘campaigns_grid’);

campaigns_grid.setImagePath("/static/dhtmlx/dhtmlxGrid/codebase/imgs/");

campaigns_grid.setHeader(“Start,End,Buy,Spent”);

campaigns_grid.setSkin(“light”);

campaigns_grid.attachHeader( ‘#rspan,#rspan,#numeric_filter,#numeric_filter’ );

campaigns_grid.init();

campaigns_grid.loadXML( ‘campaigns’ );


It seems that you are using dynamic smart rendering. The client side filtering can’t work in such mode, because it requires that all data must be accessable, and in dyn. smart rendering mode, only part of data loaded to client.
In case of dyn. srnd, the only solution is server side filtering.
dhtmlx.com/docs/products/dhtmlxG … bs_biggrid

If I’m incorrect, and you are using static smart rendering , please be sure that related cell contains only numeric values, if they are wraped with some HTML tags, numeric filter will not be able to convert them to numbers correctly, and filtering will not work as expected.