I have a Kendo Combobox and I have asked this question earlier. The filtering works fine but after the filtering is done, the options in the select list lose their attributes. Any reason why? Kindly let me know.
Here is the Dojo for that.
Before Filtering:
<select id="users">
<option value="1" code="user1" data-message="OK1">User 1</option>
<option value="2" code="user2" data-message="OK2">User 2</option>
<option value="3" code="user3" data-message="OK3">User 3</option>
<option value="4" code="user4" data-message="OK4">User 4</option>
</select>
After Filtering:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
< select id="users" data - role="combobox" aria - disabled="false" aria - readonly="false" style="display: none;">
<option value="2">User 2</option>// lost code and data-message
<option value="3">User 3</option> // lost code and data-message
</select>
Cheers.
Update: The issue is that the control is already initialized server-side and I am just performing the filtering on the client side. Is there no way to perform the filtering without re-initializing the control all over again?