Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
985
How to pass metadata(column info) & data separately to grid datasource in json format
posted

I would like to pass column-info & data separately to datasource in json form. having column header label in each row is very expensive for large data set. also it's duplication of data, is there any way, we can specify it in json format output and pass it to grid datasource?

 

here is a example of json output:

[

   {

      "Order":"10S10010",

      "Sold-To":"10C1000",

      "Status":" ",

      "Line":1,

      "Item Number":"60007",

      "UM":"EA",

      "Qty Ordered":10,

      "Qty Open":10,

      "Due Date":"2011-10-14",

      "Qty Shipped":0,

      "Quote":" ",

      "Type":" ",

      "Purchase Order":" ",

      "Ship-To":"10C1000",

      "Site":"10-100",

      "Customer Item":" ",

      "Description":" ",

      "Expires":null

   },

 

   - - - 

   - - - 

  {

      "Order":"SO011203",

      "Sold-To":"10C1000",

      "Status":" ",

      "Line":1,

      "Item Number":"03021",

      "UM":"EA",

      "Qty Ordered":125,

      "Qty Open":125,

      "Due Date":"2012-01-25",

      "Qty Shipped":0,

      "Quote":" ",

      "Type":" ",

      "Purchase Order":" ",

      "Ship-To":"10C1000D",

      "Site":"10-300",

      "Customer Item":"WL500",

      "Description":" ",

      "Expires":null

   }

]

Parents Reply Children
No Data