I read the documentation but found nothing related to setting parameters in dataSource urls. Is it possible to achieve that?
Thx in advance.
I read the documentation but found nothing related to setting parameters in dataSource urls. Is it possible to achieve that?
Thx in advance.
Yes, it is possible. The
url
s defined in theDataSource.transport
might be a function. This function receives (forupdate
) as first argument the data being updated (the model) and returns the string that should be used as URL.Composing the URL for what you want to do is:
Short answer:
Nope.
Long answer:
Parameters are passed either inline with the
url
parameter of the transport object......or they are passed in the
data
parameter of the transport object.or