Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kolex on Nov 13, 2009 02:04
open dhtmlx forum
invalid render after expanding treegid rows

screen:  http://img509.imageshack.us/img509/6371/invalidrender1.png

sources:.....

can you help me to fix it ?

Answer posted by Alex (support) on Nov 13, 2009 02:56

Hello,

please, check that all ids in treegrid are unique. It seems that they aren't - we have found rows with the same ids: C165, C145, C151 and others. Also please be sure that server-side script returns xml with correct parent item id. For example if it returns turkey regions, the xml structure should started from:

<rows parent='turkey_id'>

Where  turkey_id is id of turkey row.

Answer posted by kolex on Nov 13, 2009 03:11

I added DISTINCT statement in sql and Treegrid work fine now

Thanks!