angular - KendoUI and Angular2 autocomplete with data from remote (live search) -
on documentation site data binding there examples on how datasource remote server. however, in these scripts, loads entire list on init , uses list filter.
i connecting webservice searching cities around world. obvious reasons, don't want load entire list of cities beforehand search on type.
have no idea how component, , haven't found helpful far.
does know how solve this, or can point me in right direction (tutorials, etc.)?
you can check out filterchange event filterable=true, , load data source there. in initial load, if required, can may bind listitems array few default values, load data on filter change.
Comments
Post a Comment