Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

KendoUi dropdownlist : how to select text instead index

Tags:

kendo-ui

How i could select datatext field instead index

the following select the index instead the datatext field

var hhProduct = $("#ProductData").data("kendoDropDownList").select();

Please advise how i can achieve this

like image 283
Supermode Avatar asked Mar 21 '23 23:03

Supermode


1 Answers

To get or set text of a dropdown you have to use $("#ProductData").data("kendoDropDownList").text();

like image 161
Arun Killu Avatar answered Apr 10 '23 09:04

Arun Killu