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

How to bind dynamically multiple column in grid.

0 Answers 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Quest Resource Management
Top achievements
Rank 1
Quest Resource Management asked on 30 Oct 2012, 01:38 PM
View
@(Html.Kendo().Grid<QRMG.VendorPortal.Model.Field>()
            .Name("Grid")
            .Columns(columns =>
            {
                foreach (var fieldData in Model.Data[1])
                {
                    columns.Bound(fieldData.FieldName);
                }               
            })
            .DataSource(dataSource => dataSource
            .Server()           
            )          

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Quest Resource Management
Top achievements
Rank 1
Share this question
or