Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rich on Jun 04, 2008 06:55
open dhtmlx forum
Tree Grid smart parsing question

Hello,

I have enabled smart parsing to help the performance of the tree grid. When doing some calculations, I would like to check to see if a parent node has children, but with SP turned on the result will be no. Is there a way for me to determine if the node I am on has been fully parsed for children?

thanks
Answer posted by Support on Jun 04, 2008 10:10
In dhtmlxgrid 1.6 you can use next snippet to check count of children for any node ( including unparsed nodes in SP mode )
    grid._h2[rowID].childs.length
where rowID - id of row in question