Hi,
I’m using RestDataSource since the request and response formats used by it allows me to display hierachical data trhough a dataBound TreeGrid component.
This is the xml data that comes from the server
<record>
<Id>2</Id>
<Refid>1</Refid>
<Name>ROOT</Name>
</record>
<record>
<Id>3</Id>
<Refid>2</Refid>
<Name>X</Name>
</record>
<record>
<Id>4</Id>
<Refid>2</Refid>
<Name>Y</Name>
</record>
<record>
<Id>5</Id>
<Refid>3</Refid>
<Name>X child</Name>
</record>
My problem is the Y record. Since it don’t have childs it is represented in the TreeGrid as a leaf node and not as a folder.
How can i programatically change this behaviour?
Thanks in advance