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

Create DataGrid Programmatically

1 Answer 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ujjwal Lahoti
Top achievements
Rank 1
Ujjwal Lahoti asked on 29 Apr 2010, 01:44 PM
Hi,

I was wondering if you have some sample code, that describes creating DataGrid Programmatically (not through XAML) - Multiple columns, and each with their own CellDataTemplate and CellEditTemplate? I searched through Documentation but couldn't find it.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 29 Apr 2010, 01:59 PM
Hello Ujjwal Lahoti,

I beleive we do not have such example as creating and setting DataTemplates in code is not a good practice.

However if you decide to go that way and find a specific trouble implementing this, we will be glad to help.

Kind regards,
Pavel Pavlov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Ujjwal Lahoti
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or