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 )
I want to do similar to following but using Kendo MVC html Helper instead of Kendo UI widgets.
Found following approach.