Hi Ianko
Unfortunately, this does not seem to work for me as my extra parameters always comes up with the default value when the page is first loaded.
My controller defines the following parameters:
[DataSourceRequest] DataSourceRequest request, int objectId
And so i have tried
multiSelect.dataSource.options.transport.read.url = "/Items/GetItems/" + value;
multiSelect.dataSource.options.transport.read.url = "/Items/GetItems/GetItemsList=" + value;
multiSelect.dataSource.options.transport.read.url = "/Items/GetItems?GetItemsList=" + value;
But the passed in extra parameter is always set to 0.
I can see on the network activity that the URL address is properly set but i can't get the extra parameter to pass over.
As mentioned in my previous post, adding the parameter in the read method (like so: multiSelect.dataSource.read({ id: value });) will pass the data back to the controller, however the problem with this is that any sort of virtualisation will mess it up. (it will pass in the default value of 0 instead of the changed value).
Thanks for your help.