Title: Submit params while loading Treegrid from server ? Post by: Afract 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. Title: Re: Submit params while loading Treegrid from server ? Post by: stworthy on July 13, 2016, 07:15:04 AM The 'queryParams' property extends from datagrid plugin. You can apply it for your treegrid component.
Title: Re: Submit params while loading Treegrid from server ? Post by: Afract 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 :)
|