Good Day All
My datasource is a List as defined like this
And as you can see it brings back a list. Now this will arrange everything in hiearchial form but i need to be able to collapse and uncollase the results , but now it shows in a Grid as normal data as depicted in the image below
Thanks
My datasource is a List as defined like this
public
List<EAV> GetRecords(List<
string
> ParentRecords, List<
string
> ChildRecords)
{
List<EAV> Final =
new
List<EAV>();
for
(
int
i = 0; i < ParentRecords.Count; i++)
{
//Put a check for child records exists and add
Final.Add(
new
EAV(ParentRecords[i], ChildRecords[0]));
//Start looping from 2nd J = 1 instead of 0
for
(
int
J = 1; J < ChildRecords.Count; J++)
{
//remove ParentRecords[i]
Final.Add(
new
EAV(
""
, ChildRecords[J]));
}
}
return
Final;
}
And as you can see it brings back a list. Now this will arrange everything in hiearchial form but i need to be able to collapse and uncollase the results , but now it shows in a Grid as normal data as depicted in the image below
Thanks