Categories | Question details Back To List | ||
TreeGrid dynamic loading and filtering problem I have problems with treegrid dynamic and filtering: In my treegrid parent nodes fills not only one (name) column, but some more values, and some of them are the same for parent and children nodes. When I filter (text_filter) on column column that has same value like children and parent is collapsed then after filtering I cannot expand this node (clicking on + does nothing). If I expand this node before filtering then everything works ok. Yea, I know its kind of complicated but its simple to reproduce basing on treeGrid_dynamic.html sample: 1. Add text filtering to the header 2. Add more cell values to parent node with values from child nodes: example: <cell image="folder.gif">Honda</cell> <cell>47,100</cell> <-same like in all child nodes then try to filter by "47,100" and try to open the "Honda" node - no ajax request will be send and row will nod expand. If you try to expand this node before filtering then everything works ok. Answer posted by Support on Apr 27, 2009 08:46 >>parent is collapsed then after filtering I cannot expand this node Such behavior can be an expected one ( based on used filtering mode ), because grid doesn't know if data in not loaded branch correct for the used filtering rule or not - data loading blocked. ( in other case , situation possible than data shown in grid will not be valid for used filtering rules ) >>then try to filter by "47,100" Are you want to filter by top level only, by leaf level or data on all levels? Based on filtering mode - behavior may differ. http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Filtering_in_TreeGrid.html#grid_tg_filtering Which version of treegrid you are using? ( there was significent fixes related to support of dyn. loading and treegrid filtering in 2.1 version ) Answer posted by ez on Apr 27, 2009 09:53 My grid version is latest one. And I want to filter in top level Answer posted by ez on Apr 28, 2009 00:16 And one more thing, when you make filtering and then remove filter the "+" expand is still disabled. |