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

Can i bind RadGridView columns using MVVM?

1 Answer 115 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Frank
Top achievements
Rank 1
Frank asked on 05 Apr 2012, 09:02 PM
Hello,

My RadGridView needs to have different columns based on what a user queries. I am using MVVM and was wondering if there is a way I can bind my xaml RadGridView's columns to a Telerik.Windows.Controls.GridViewColumnCollection in my ViewModel? If not, do you have a suggestion for building the columns dynamically based on a list of objects in my ViewModel? Thank you.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 06 Apr 2012, 06:44 AM
Hello Sean,

Could you take a look at this blog post ? Will that approach meet your requirements ? 

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Frank
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or