EasyUI Forum
September 13, 2025, 04:32:12 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: Submit params while loading Treegrid from server ?  (Read 7736 times)
Afract
Newbie
*
Posts: 9


View Profile
« on: July 13, 2016, 03:10:26 AM »

Hello,

To fill a datagrid using some custom params while retrieving data from server, if I'm right we can use the queryParams argument.

I would like to achieve the same thing with Treegrid, but I don't see the queryParams argument or anything which seems to do the same, could you please help me ?
I'm only aware of "url" parameter, which doesn't allow to specify additionnal parameters to server.

Thank you very much for your great JS library, it's really a pleasure to work with it.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: July 13, 2016, 07:15:04 AM »

The 'queryParams' property extends from datagrid plugin. You can apply it for your treegrid component.
Logged
Afract
Newbie
*
Posts: 9


View Profile
« Reply #2 on: July 13, 2016, 08:06:59 AM »

You're right, it works perfectly ! Sorry to not have tried it before as it's not in the spec. I suggest to enhance the Treegrid Documentation page with this, it's a very useful feature Smiley
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!