This is a migrated thread and some comments may be shown as answers.

Multiselect Example and a small mystery

1 Answer 37 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
Gerry
Top achievements
Rank 1
Veteran
Gerry asked on 16 May 2017, 03:42 PM

http://docs.telerik.com/kendo-ui/controls/editors/multiselect/how-to/selection/preselect-items-using-mvvm

Having sample code is good, but code is not an explanation. Code is what, code is not why.

For example:

   var products = model.products;            // preselected products
   model.set("products", []);                      // why is this necessary?
   model.set("products", products);

I'm new to Kendo (and JS frameworks in general), while I am finding a decent amount of sample code, the lack of proper tutorials means a longer learning curve.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 18 May 2017, 11:30 AM
Hello Gerry,

Thank you for your feedback! 

We will definitely take it into consideration.We plan such enhancements on our currently available documentation and consider enhancing the model of providing examples in our resources. This is why such feedback is really important for us. 

Please let me know, should you have any further questions or suggestions.

Regards,
Nencho
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
MultiSelect
Asked by
Gerry
Top achievements
Rank 1
Veteran
Answers by
Nencho
Telerik team
Share this question
or