this.myData = {
url: this.authService.getServerURL() + ‘trainer/list/’,//+this.currentWorkOutType+’/’,
remoteFilter: true,
dataType: ‘json’,
processResponse: function (data) {
}}
I want to send value of this.currentWorkOutType along with user typed value while load data from remote.
Ex: in select input field, if i type m, the url will be {url}/trainer/list/m
i want my own value like this {url}/trainer/list/{myval}/m
At the moment it’s not supported to pass dynamic parameters to the remote data source. Currently this can be done by running the request yourself inside the onFilter event. You can use Angular’s HttpClient to run the request.