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

Grid MVVM data-columns

1 Answer 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Congyuan
Top achievements
Rank 1
Congyuan asked on 27 May 2015, 06:27 PM

Does the treelist/grid support data-bind on the attrubite data-columns?

 <div id="treelist" data-role="treelist"
     data-selectable="single"
     data-reorderable="false"
     data-resizable="true"
     data-sortable="true"
     data-filterable="true"
     data-column-menu="true"
     data-columns="[
            { 'field': 'F0', 'title': 'LEGAL NAME', 'width': 250, 'locked': true },
            { 'field': 'F1', 'title': 'TIN', 'width': 200 },
            { 'field': 'F2', 'title': 'ASSUMED EFFECTIVE INCENTIVE %', 'width': 200 },
            { 'field': 'F3', 'title': 'INTEREST', 'width': 200, 'headerAttributes': { 'style': 'background-color:#D3747F;' }, 'format': '{0:c2}' }
            ]"
     data-bind="source: data">
</div>

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 29 May 2015, 08:07 AM

Hello Congyuan,

Yes, this is supported by the TreeList widget. You could check live demo at the following page.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Congyuan
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or