RadDataGrid with DataGridTemplateColumn

6 posts, 0 answers
  1. Gokhan
    Gokhan avatar
    4 posts
    Member since:
    Jan 2015

    Posted 29 Jan 2015 Link to this post

    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.
  2. Gokhan
    Gokhan avatar
    4 posts
    Member since:
    Jan 2015

    Posted 29 Jan 2015 in reply to Gokhan Link to this post

    ..these are the columns 'Col C' and 'Col D'...
  3. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 03 Feb 2015 Link to this post

    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.

     
  4. Gokhan
    Gokhan avatar
    4 posts
    Member since:
    Jan 2015

    Posted 16 Feb 2015 in reply to Dimitrina Link to this post

    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
  5. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 19 Feb 2015 Link to this post

    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.

     
  6. Gokhan
    Gokhan avatar
    4 posts
    Member since:
    Jan 2015

    Posted 23 Feb 2015 in reply to Dimitrina Link to this post

    Hello Dimitrina,

    thank you for your answer.

    Thank you.
    Goekhan
Back to Top