This question is locked. New answers and comments are not allowed.
Hi guys,
I followed the Self-Referencing Hierarchy example in the demos section to create a GridView with nested childs rows.
My DataModel contains of course an ID and ParentID plus other attributes.
Let's say we have 3 rows as follow :
ID = 1, ParentID = 0
ID = 2, ParentID = 0
ID = 3, ParentID = 2
As we can see, the third row is child of the second row.
Now when I bind the grid to this list of data, I get 3 visible rows and the second row contains the third row when u collpase it. I don't know why the GridView show the third row seeing that it is the child if the second Row.
Any idea ?
I followed the Self-Referencing Hierarchy example in the demos section to create a GridView with nested childs rows.
My DataModel contains of course an ID and ParentID plus other attributes.
Let's say we have 3 rows as follow :
ID = 1, ParentID = 0
ID = 2, ParentID = 0
ID = 3, ParentID = 2
As we can see, the third row is child of the second row.
Now when I bind the grid to this list of data, I get 3 visible rows and the second row contains the third row when u collpase it. I don't know why the GridView show the third row seeing that it is the child if the second Row.
Any idea ?