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

Dynamic Grid Creation from Whatever Query Model(Result)

1 Answer 170 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 11 Jul 2016, 10:27 PM

I have created view in ASP.NET MVC Application containing kendo MVC dropdown and Kendo MVC Grid. Dropdown is filtering Grid. Base on query I get different number of columns(some of them are  similar). I want to bind these columns dynamically to Grid. I am using View Model for view.

Please suggest what is better way to implement.

Following demo explains similar to what I want to achieve except not using user defined View Model( instead using System.Datatable as Model )

Using_DataTable

I want to do similar to following but using Kendo MVC html Helper instead of Kendo UI widgets.

https://mycodepad.wordpress.com/2014/12/01/asp-net-mvc-5-with-razor-kendo-ui-dynamic-grid-creation-columns-ordering-grouping-and-paging/

Found following approach.

Dynamic_Grid_Creation

Thanks

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 13 Jul 2016, 01:20 PM
Hi Muhammad,

I have already answer the support ticket with the same requirement so i would appreciate if we continue our conversation there.

Regards,
Kostadin
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or