I understand this is urlencoded data corresponding to the load request structure described in the doc. However, there was no query parameter whatsoever in 2.1.2. Was this parameter supposed to be there all along? What did I miss!
Re: [INFO REQ] undefined query parameter on load in 2.1.3
Posted: Wed May 20, 2020 7:29 am
by arcady
Yes there was no parameter previously if you don't provide paramName config. Before that fix we used HTTP request body to pass the load request in such cases.
But using of body for GET HTTP requests is not recommended so we decided to change that behaviour.
So starting from this release if you use GET method then the request data is passed in a URL parameter.
Do you want to use GET request body to pass load requests?
Re: [INFO REQ] undefined query parameter on load in 2.1.3
Posted: Wed May 20, 2020 6:18 pm
by Jerther
Yes I'd prefer to use GET for the load request. I understand the "data" query parameter is there to stay this time so I'll add support for it.
Thanks for the detailed explanation!
One last thing though. If I have to properly implement the load request, I'd better do it right. In the doc, about the "stores", it is said "they can be represented with an object to pass additional parameters." Is there a complete list of the possible parameters that Bryntum Gantt might use (like "append" or "page"?)
Re: [INFO REQ] undefined query parameter on load in 2.1.3