asp.net mvc 2 - Telerik MVC: Generic Grid -


I'm wondering if I can prepare a general way to design a Taylor MVC grid. Example: The model is a list of fielddesigner. The name of a field descriptor, a value and a type. In this way I want to show the grid columns according to the data in the model - it depends on which fields come and what their type is. But the Taylor MVC grid knows only to create a column, if you clearly see a model property.

I found a blog that told me what you think you are asking. When you do not know that the dynamic data will be displayed when the column runs until it's run.

You can loop through the columns in the model to create a grid, then you can use AJAX to get the data. / P>

Here's the link

 . Column (column = column = column = column = column = & gt; {foreach (System.Data.DataColumn column in Model.Column) {columns.Bound (column.DataType, column.ColumnName);}})  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -