Cell level data types

2 posts, 0 answers
  1. Scott Michetti
    Scott Michetti avatar
    97 posts
    Member since:
    Feb 2010

    Posted 11 Mar 2013 Link to this post

    Hello, is it possible using MVVM to have different data types in a single column? I would want one cell to be string, another to be numeric, and another to be a dropdown etc. Or possibly use 1 datatype(String), but have different editors in each cell. Your new spreadsheet control may be a better solution, but it may be some time before it is done, and if this can work using the GridView, I'd use that.

    Thanks
    Scott
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1216 posts

    Posted 11 Mar 2013 Link to this post

    Hi,

    Unfortunately such a requirements goes far beyond RadGridView's core concepts. Basically, RadGridView is designed to process all of the column cells' values as instances of a same type. You can have strings, numerics etc simultaneously as they all derive from System.Object, but this will disable all of the data-shaping operations (sorting, grouping etc). You will also need some custom type-casting mechanism. I would personally try RadSpreadSheet instead.

    Kind regards,
    Ivan Ivanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top