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

Dynamic columns + static column

1 Answer 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 04 Oct 2012, 03:57 PM
I am trying to build a grid that has both a static, known column and a set of unknown columns that need to be created dynamically. I have read and understand the method of using DynamicObject combined with the auto generate columns from the RadGridView, but in my situation I want the one known column (the "non-dynamic" one) to be editable, and the dynamic columns readonly (non editable).

Please advise...

Thanks!
Mike Gates

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 05 Oct 2012, 05:25 AM
Hi,

You can set which column(s) to be editable (IsReadOnly property) in AutoGeneratingColumn event.

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or