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

Generate RadGrid dynamically with multiple datatypes for one column

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Narmatha
Top achievements
Rank 1
Narmatha asked on 13 Jul 2011, 07:10 PM
Hi,

I would like to create the whole RadGrid dynamically and each of the column could contain multiple datatypes. Say Column 1 could have Checkbox for row 1 and Link for row 2. How can I do this?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 18 Jul 2011, 03:55 PM
Hello Narmatha,

In order to implement the desired functionality, I suggest that you add template columns to the grid dynamically. You can have multiple controls in the ItemTemplates of these columns and then switch their visibility based on your custom logic.

I hope this helps.

All the best,
Mira
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Narmatha
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or