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

[Solved] Auto Generated Columns with unknown design-time types

0 Answers 69 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.
Pete
Top achievements
Rank 1
Pete asked on 10 Oct 2010, 06:32 PM
Hello,
Is it possible to use the MVC grid bound to a Model that is not known at design time, and have it auto-generate columns? E.g, Can the Model be of type IEnumerable<object>? I did a simple test with this and no data is being displayed in the grid.

If this is not possible to do this way, are there any workarounds? I have a page with a grid that needs to display types not known until runtime.
Thanks
Pete
Tags
Grid
Asked by
Pete
Top achievements
Rank 1
Share this question
or