Hi,
I'm trying to bind the multiselect widget to a different source depends on the text.
It means that I need to detect every text change and than re-bind the widget's datasource.
How can I achieve that ?
Is there any event for text change ? (not select event)
btw, My data source is very big so I can not bring it tio the client and use local datasource , In addition I can not bind it to remote data source cause the data is changing very quickly and updating the entire data (into odata format) is very expensive.
Sagi
I'm trying to bind the multiselect widget to a different source depends on the text.
It means that I need to detect every text change and than re-bind the widget's datasource.
How can I achieve that ?
Is there any event for text change ? (not select event)
btw, My data source is very big so I can not bring it tio the client and use local datasource , In addition I can not bind it to remote data source cause the data is changing very quickly and updating the entire data (into odata format) is very expensive.
Sagi
5 Answers, 1 is accepted
0
Hello Sagi,
Basically you can add custom keydown handler to the input element of the multiselect.
e.g.
Here is an example:
http://jsbin.com/ecivUw/2/edit
Kind Regards,
Petur Subev
Telerik
Basically you can add custom keydown handler to the input element of the multiselect.
e.g.
$(
'#products'
).data().kendoMultiSelect.input.on(
'keydown'
,
function
(e){
console.log(
'key down ->'
, e);
})
Here is an example:
http://jsbin.com/ecivUw/2/edit
Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Venkat Chalasani
Top achievements
Rank 1
answered on 29 Jul 2015, 11:04 AM
Hi,
I am stuck in the same situation as Sagi. But I am developing with AngularJS and Kendo UI v2014.2.903.
Please advice me solution to implement in AngularJS.
My sample GET call is as :
Thanks in advance.
Regards,
dataSource: {
type:
"json"
,
serverFiltering:
true
,
transport: {
read: function (options) {
var config = {
method:
'GET'
,
url: eventsService +
"/getdata?q=a"
,
headers: credentials
};
$http(config).success(function (data) {
options.success(data);
});
}
}
}
0
Hello Venkat Chalasani,
Please open a separate support request with some more information and we will be happy to help you.
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Venkat Chalasani
Top achievements
Rank 1
answered on 31 Jul 2015, 12:44 PM
i am able to solve the issues.
Thanks
0
Hello Venkat Chalasani,
Happy to hear that the issue is resolved. But in case you have any future questions, do not hesitate to open a thread and contact us.
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!