Unplanned
Last Updated: 18 Oct 2019 07:48 by ADMIN
Anna
Created on: 11 Oct 2019 13:44
Category: ListView
Type: Feature Request
1
ListView setOptions()/getOptions() methods

Reproduction

Run dojo at https://dojo.telerik.com/@GaloisGirl/OFUpogiW

Current behavior

The ListView is not navigatable by keyboard

Expected/desired behavior

The ListView should be navigatable and selectable by keyboard

1 comment
ADMIN
Alex Hajigeorgieva
Posted on: 18 Oct 2019 07:48

Hello, Anna,

The Kendo UI ListView widget does not have the required implementation of the setOptions() method as part of its own public API:

https://docs.telerik.com/kendo-ui/api/javascript/ui/listview#methods

Therefore, I have converted this to a Feature Request as the functionality does not exist as opposed to an existing functionality that does not behave as prescribed in the documentation.

To assign options dynamically, you can destroy the widget and create it with the new options instead:

https://dojo.telerik.com/@bubblemaster/aFUzimaK/2

var options = listView.options;
listView.destroy();
listView.element.empty();
options.navigatable = true;
$("#listView").kendoListView(options);

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.