Categories | Question details Back To List | ||
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: <rows total_count="7663" pos="0"> <row id="4823"> <cell>2002-06-09</cell> <cell>2008-12-31</cell> <cell>1555026</cell> <cell>1554139.487200</cell> </row> <row id="14223"> <cell>2004-03-17</cell> <cell>2008-12-31</cell> <cell>717700</cell> <cell>278870.908250</cell> </row> .... </rows> 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' ); Answer posted by Support on Oct 07, 2008 02:21 >><rows total_count="7663" pos="0"> 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. http://dhtmlx.com/docs/products/dhtmlxGrid/doc/step-by-step/ch_biggrid.html#grid_sbs_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. |