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

Question about creating columns

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 04 Mar 2009, 04:23 PM
Does RadGrid offer any functionality that allows the user to create a column on a grid based on the location they click?  Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Mar 2009, 11:45 AM
Hi,

RadGrid does not support mixing declarative grid columns with grid columns added dynamically at runtime. You should either create all the columns in the grid programmatically, or else define them all in the ASPX file. A suggestion would be to use a header context menu to add columns dynamically to the grid. Check out the demo below to understand where they use the headercontextmenu to show or hide columns:
Header context menu

For additional information, you can also refer the link below:
Programmatic creation

-Princy.



Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or