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

telerik grid bnding with dynamic columns

1 Answer 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ajmal
Top achievements
Rank 1
ajmal asked on 24 Apr 2011, 04:39 PM

Hello All...please help me..

I'm using telerik MVC grid and my columns are dynamic for grid, means I can't bind the grid with strogly type model.

Through ajax call, somehow I get the data like attached image format (there are 3 column)

now question, how can i bind these records to grid, currently below code display nothing?

@model IEnumerable<dynamic>
 @(Html.Telerik().Grid(Model) .Name("grdHierarchy")
  
            .Sortable()
            .Pageable()
            .Scrollable(scrolling => scrolling.Enabled(true)))

1 Answer, 1 is accepted

Sort by
0
ajmal
Top achievements
Rank 1
answered on 24 Apr 2011, 05:10 PM

"Atanas" confirm at below link, consider this as a feature request. Is this feature available so far?

http://www.telerik.com/community/forums/aspnet-mvc/grid/bind-grid-to-json-object.aspx
Tags
Grid
Asked by
ajmal
Top achievements
Rank 1
Answers by
ajmal
Top achievements
Rank 1
Share this question
or