ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: youngfitz on September 23, 2018, 04:56:31 pm

Title: TreeGrid - Server side Examples
Post by: youngfitz on September 23, 2018, 04:56:31 pm
Hi,

I was wondering if you have an example of server side implementation of the TreeGrid Functionality(https://paramquery.com/pro/demos/treegrid)

Thanks
Title: Re: TreeGrid - Server side Examples
Post by: paramvir on September 25, 2018, 10:59:06 am
Server side code has to return plain data with parent child relation like this

ID   parent   FirstName   LastName
1   2   Nancy   Davolio
2      Andrew   Fuller
3   2   Janet   Leverling
4   2   Margaret   Peacock
5   2   Steven   Buchanan
6   5   Michael   Suyama
7   5   Robert   King
8   2   Laura   Callahan
9   5   Anne           Dodsworth

Similar server side code is provided in this example

https://paramquery.com/pro/demos/treegrid-lazy