Can the gridview do this?

2 posts, 0 answers
  1. Joe
    Joe avatar
    1 posts
    Member since:
    Jan 2008

    Posted 29 Jun 2012 Link to this post

    I am trying to find a grid that supports artificial hiearchy. for instance, here is my simple table.

    categorytype,category, part
    hose, coolant hose, 1234
    hose, coolant hose, 3433
    hose, heater hose, 5555
    hose, heater hose, 656
    belt, timing belt, b1112
    belt, timing belt, bb333
    belt, serpentine, bs232

    I want to tell the grid to make the first column unique with a + so it only shows:
    hose
    belt

    and when expanded it expands the second hiarchial set "category" and then expands to part.

    Is this doable?

  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 03 Jul 2012 Link to this post

    Hi Joe,

    The described behavior sounds much like the grouping functionality of the grid view. Have you tried using the GroupDescriptors collection to achieve it? 

    Looking forward to hearing from you! 

    Kind regards,
    Nik
    the Telerik team

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

Back to Top