All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hello,
I'm trying to get the dataTextField & dataValueField from double clicking on the ListBox.
I feel like this should be easy but i cant find anything in the documentation or on google.
So far i have this:
yeah so the forum decided to post my message without me finishing it?
So far i have:
listBox.wrapper.find(".k-list").on("dblclick", ".k-item", function(e) { });
$(
"#optional"
).data(
"kendoListBox"
).wrapper.find(
".k-list"
).on(
"dblclick"
,
".k-item"
function
(e) {
var
listBox = $(e.target).closest(
".k-listbox"
).find(
"[data-role='listbox']"
);
dataItem = listBox.dataItem(e.target);
//...
});