Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by numan khan on Jan 31, 2009 02:46
open dhtmlx forum
Sorting Problem when xml loaded

hi,
I am generating the server side xml before xml generation the sorting on all cols of my grid are fine but as soon as I generate the xml through grid filtering, the grid is populating but than the sorting causing problem and it is through javascript error.
The error text is
" Line:828
Error:this.rowsBuffer[...].idd is null or not an object"

Please advice me.
Thanks
Answer posted by Support on Feb 02, 2009 03:01
Are you using static or dynamic mode for xml loading ( dyn. smart rendering or dyn. paging ) ?
The client side sorting can be applied only if all data loaded on client side ( which is not possible in dyn. mode , when data loaded by chunks on demand ) 
The mentioned error occurs when sorting or filtering applied to the grid in dyn. loading mode with some data not loaded from server side yet. 

Also, the issue can be caused by missed or non-unique IDs