Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
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);
//...
});