Group indent removal UI issue

4 posts, 0 answers
  1. Ken
    Ken avatar
    104 posts
    Member since:
    Aug 2010

    Posted 15 Oct 2015 Link to this post

    Hi,

    I'm trying to remove indenting when grouping items in a GridView.I have it basically working by setting a style for GridViewIndentCell with Visibility Collapsed, however after doing this there is some space "left over" on the right of each grid view row. Could you please let me know how to get rid of it and have the row expand all the way to the right?

     Thanks,

    Adrian

  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 20 Oct 2015 Link to this post

    Hello Adrian,

    Please you try collapsing the GridViewHeaderIndentCell as well and see if this fits your needs:
    <Style TargetType="{x:Type telerik:GridViewHeaderIndentCell}">
        <Setter Property="Visibility" Value="Collapsed" />
    </Style>

    There is a slight UI glitch in that case, so if it doesn't fit your needs you can modify the template of the GridViewRow and remove the indicator presenter altogether.

    I hope this helps.

    Regards,
    Petya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ken
    Ken avatar
    104 posts
    Member since:
    Aug 2010

    Posted 21 Oct 2015 in reply to Petya Link to this post

    Hi Petya,

    This seems to work, thanks! Can you please elaborate on the UI glitch? I didn't notice anything so far.

     Thanks,

    Adrian

  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 21 Oct 2015 Link to this post

    Hi Adrian,

    I'm observing a missing border on the top of the grouped items as demonstrated in this snapshot.

    Regards,
    Petya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top