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

Binding Treeview with checkboxes

1 Answer 147 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
james
Top achievements
Rank 2
james asked on 03 Nov 2012, 09:41 AM
Hi!

Is it possible to bind treeview widget with checkboxes?

I try like this

<div id="products"  data-role="treeview" data-text-field="Name" data-value-field="Id" data-check-field="Checked" data-check="true" data-bind="source: SpecificationProducts" ></div>
but without success.

Kind regards,

Janez

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 08 Nov 2012, 09:30 AM
Hi Janez,

The configuration option is called checkboxes and the respective data attribute is data-checkboxes. There is a known issue in the official release which does not allow you to set the checkboxes declaratively, but I am glad to inform that it is already fixed and the fix will be available in the next internal and official release.

Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
MVVM
Asked by
james
Top achievements
Rank 2
Answers by
Alexander Valchev
Telerik team
Share this question
or