Autogenerate GridViewColumnGroup from datasource

3 posts, 0 answers
  1. Jason Parrish
    Jason Parrish avatar
    87 posts
    Member since:
    Sep 2009

    Posted 06 Oct 2011 Link to this post

    Can the grid autogenerate GridViewColumnGroup's based on a property on the items in the datasource?  This would be similar in how columns can autogenerate.
  2. Svett
    Admin
    Svett avatar
    728 posts

    Posted 07 Oct 2011 Link to this post

    Hi Jason Parrish,

    Presently, the columns in GridViewColumnGroup cannot be auto-generated. When you create its definition, you should rely on already created columns. We can generate the columns depending on the data source, but we cannot determine in which group they should be located. This is one of the major concerns that stops implementing such a feature. 

    All the best,
    Svett
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jason Parrish
    Jason Parrish avatar
    87 posts
    Member since:
    Sep 2009

    Posted 07 Oct 2011 Link to this post

    Thank you.  It would be a very nice feature, especially if you can simply specify what property of the databounditem to bind to.
Back to Top