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

RadDataGrid with DataGridTemplateColumn

5 Answers 71 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gokhan
Top achievements
Rank 1
Gokhan asked on 29 Jan 2015, 09:41 AM
Hello,
I have a RadDataGrid with a DataGridTemplateColumn. The cell of this column (in each row) should contain a canvas with 3 textblocks.
How can I assign values to each textblock of this cell depending on the value of the cell?
Please provide an example.
Thank you.

5 Answers, 1 is accepted

Sort by
0
Gokhan
Top achievements
Rank 1
answered on 29 Jan 2015, 10:19 AM
..these are the columns 'Col C' and 'Col D'...
0
Dimitrina
Telerik team
answered on 03 Feb 2015, 08:57 AM
Hi Gokhan,

Please find an attached project that demonstrates this scenario.

More information about "DataGridTemplateColumn" can be found in the documentation.

I hope this helps. Let us know if you have further questions.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Gokhan
Top achievements
Rank 1
answered on 16 Feb 2015, 01:05 PM
Hello Dimitrina,

thank you for your answer, but it does not solve my question.
My question is, how can I assign objects within a "DataGridTemplateColumn"? In my example, I have a "DataGridTemplateColumn" with 3 TextBoxes and I want to assign dynamic values to each of them.
I saw your example before in the documentation of the universal datagrid.

Thank you.
Goekhan
0
Dimitrina
Telerik team
answered on 19 Feb 2015, 11:37 AM
Hi Gokhan,

Please find an attached project that demonstrates this scenario.

I hope this helps. Let us know if you have further questions.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Gokhan
Top achievements
Rank 1
answered on 23 Feb 2015, 10:13 AM
Hello Dimitrina,

thank you for your answer.

Thank you.
Goekhan
Tags
DataGrid
Asked by
Gokhan
Top achievements
Rank 1
Answers by
Gokhan
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or