Can someone help me with creating the oData entity structure for Tree Table?
I have a requirement to show the records by grouping using GroupId attribute. Need to provide the selection at the group level, not at the row level. Please find the attachment.
My Data looks like below.
{
{
ID: 1,
Column1: 2,
Column2: 3,
GroupId: “Group1”
},
{
ID: 4,
Column1: 5,
Column2: 6,
GroupId: “Group1”
},
{
ID: 5,
Column1: 6,
Column2: 7,
GroupId: “Group2”
},
{
ID: 6,
Column1: 7,
Column2: 8,
GroupId: “Group2”
}
}
Please provide the example for creating the entity structure and UI5 Tree table binding with Smarttable.