This question is locked. New answers and comments are not allowed.
Is something like this too much to ask? I have a need to use the Grid control, pass it an IEnumerable<dynamic> as the model for the grid, but have it auto-generate the columns. I did find an example on here using IEnumerable<dynamic>, however, the columns were defined in the grid syntax.
Basically, I would ultimately like to have a view (or partial view) with a Grid control on it that will take anything that implements IEnumerable and have it create a grid. Now, I don't foresee me needing anything other than the default paging, sorting and grouping functionality, so I'm not entirely concerned about those features.
So, is this possible? Or do I need to find another workaround/solution? Thanks.
Basically, I would ultimately like to have a view (or partial view) with a Grid control on it that will take anything that implements IEnumerable and have it create a grid. Now, I don't foresee me needing anything other than the default paging, sorting and grouping functionality, so I'm not entirely concerned about those features.
So, is this possible? Or do I need to find another workaround/solution? Thanks.