Dynamic Column grid with multiple values on a grid

2 posts, 0 answers
  1. attuneIT
    attuneIT avatar
    13 posts
    Member since:
    Mar 2014

    Posted 09 Apr 2014 Link to this post

    Howe to create a dynamic column grid with multiple cell values. I've managed to create a dynamic column grid, not clear on how to add multiple values to a dynamic column cell. I have attached the mock screen of what I want to create. The right side of the grid is dynamic columns which each cell of the column display's 2 data valued.

  2. Dimo
    Dimo avatar
    8475 posts

    Posted 11 Apr 2014 Link to this post

    Hello Indika,

    There are two ways to include two data values in a single table cell.

    1. Use a column template. Depending on the Grid databinding method (client and/or server), you will need client and/or server templates.

    2. Use a ViewModel, which combines the two values into a single string value. If this new value contains HTML markup, you will need to disable column content encoding.

    The first approach is recommended, especially if you will be using editing.


    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.

Back to Top