Hi there,
I want to make items selectable on mouse-click which are shown in the Autocomplete widget result list.
I saw that there is an unselectable attribute which is set to no.
Is there any Kendo-way to do it or do I have to implement my own functionality with jQuery?
What would be the best approach here?
I want to make items selectable on mouse-click which are shown in the Autocomplete widget result list.
I saw that there is an unselectable attribute which is set to no.
Is there any Kendo-way to do it or do I have to implement my own functionality with jQuery?
<
ul
unselectable
=
"on"
class
=
"k-list k-reset"
tabindex
=
"-1"
role
=
"listbox"
aria-hidden
=
"false"
id
=
"autocomplete_listbox"
aria-live
=
"polite"
style
=
"overflow: auto; height: auto;"
>
<
li
tabindex
=
"-1"
role
=
"option"
unselectable
=
"on"
class
=
"k-item"
>A1</
li
>
<
li
tabindex
=
"-1"
role
=
"option"
unselectable
=
"on"
class
=
"k-item"
>A2</
li
>
<
li
tabindex
=
"-1"
role
=
"option"
unselectable
=
"on"
class
=
"k-item"
>A3</
li
>
<
li
tabindex
=
"-1"
role
=
"option"
unselectable
=
"on"
class
=
"k-item"
>A4</
li
>
<
li
tabindex
=
"-1"
role
=
"option"
unselectable
=
"on"
class
=
"k-item"
>A5</
li
>
<
li
tabindex
=
"-1"
role
=
"option"
unselectable
=
"on"
class
=
"k-item"
>A6</
li
>
</
ul
>
What would be the best approach here?