EasyUI Forum
March 28, 2024, 12:02:23 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Nested subgrids  (Read 3845 times)
sectioni
Jr. Member
**
Posts: 67


View Profile
« on: March 16, 2020, 04:22:57 AM »

When I look at the Subgrids demo, after expanding a row, it gets the data from the server.
When I look at the Nested Subgrids demo, all of the children info is there from the start.

Is it not possible to create a nested subgrid with unlimited number of levels, and getting the data from the server when expending the row of each level?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #1 on: March 18, 2020, 01:29:55 AM »

The subgrid has no limitation on levels. Please set the 'url' property instead of 'data' property to retrieve data from remote server.
Logged
sectioni
Jr. Member
**
Posts: 67


View Profile
« Reply #2 on: March 18, 2020, 02:52:39 AM »

I'm afraid I don't understand how to implement multi-levels.

in the demo onExpandRow it's creating another datagrid using "ddv.datagrid ({...})"

so in order to have another level, I will have in that second grid to have another onExpandRow event that creates a third grid and so on?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!