ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: yousuftahir00 on December 14, 2018, 08:59:22 pm

Title: How can the following data be parsed to the table?
Post by: yousuftahir00 on December 14, 2018, 08:59:22 pm
I have the data in the following form:

Code: [Select]

var data = [
   {
      name: 'JOHN',
      children: [{name: 'A'},{name:'B'},{name:'C'}]
   },
   {
      name: 'PETER',
      children: [{name: 'D'},{name:'E'},{name:'F'}]
   }
]
What is the best way to show this data in ParamQuery Grid? Thanks
Title: Re: How can the following data be parsed to the table?
Post by: paramvir on December 14, 2018, 09:39:31 pm
That can be displayed in nested grid or a tree grid.

https://paramquery.com/demos/nesting_local
Title: Re: How can the following data be parsed to the table?
Post by: yousuftahir00 on December 17, 2018, 01:16:25 pm
Thank you. It works great. Just a quick question regarding it. How can I add some text to the collapsible section where it shows the arrow icon. I want to add some text along with that icon. Kindly see the attachment for an example. Thanks.
 
Title: Re: How can the following data be parsed to the table?
Post by: saritha on February 14, 2019, 02:37:26 am
Hi,  how you get that data from database. I am struggling to get