Hi there,
I have a service that returns an object containing 2 lists.
First list is 'Columns' which contains the following "A1, B2, B3, C1, C2"
Second list is 'ItemCount' which contains the following "Name: abc, A1: 12, B2: 4, C1: 10", "Name: xyz, A1: 12, B2: 4, B3, 2", "Name: def, C1: 10"
and I want grid to display like following:
NAME A1 B2 B3 C1 C2
abc 12 4 0 10 0
xyz 12 2 2 0 0
def 0 0 0 10 0
How can this be achieved?? please note, columns will change depending on data that is returned
I have a service that returns an object containing 2 lists.
First list is 'Columns' which contains the following "A1, B2, B3, C1, C2"
Second list is 'ItemCount' which contains the following "Name: abc, A1: 12, B2: 4, C1: 10", "Name: xyz, A1: 12, B2: 4, B3, 2", "Name: def, C1: 10"
and I want grid to display like following:
NAME A1 B2 B3 C1 C2
abc 12 4 0 10 0
xyz 12 2 2 0 0
def 0 0 0 10 0
How can this be achieved?? please note, columns will change depending on data that is returned