Author Topic: TreeGrid - Server side Examples  (Read 2001 times)

youngfitz

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 26
    • View Profile
TreeGrid - Server side Examples
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6173
    • View Profile
Re: TreeGrid - Server side Examples
« Reply #1 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