Author Topic: combine multiple rows to be considered as one row  (Read 3331 times)

daizhixia

  • Newbie
  • *
  • Posts: 5
    • View Profile
combine multiple rows to be considered as one row
« on: December 09, 2014, 03:37:09 am »
I have specific requirements need to build special json structure;

each row will have three children rows 1, 2, 3, 

most values are copied from the first row;  and row 2, row 3 will have slight different values compare to row one in the dynamic columns.

now the data grid generate 3 rows for my json structure;

when I group the data, it throws errors, anyway that can make the index to be 1, and each index will contain three children ?

webifi

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: combine multiple rows to be considered as one row
« Reply #1 on: December 10, 2014, 12:37:39 am »
If you can't modify the way the server responds with json, you could loop over and modify the response client side in the dataModel's getData.

Probably be easier to help if you post a sample of the json.