This is a migrated thread and some comments may be shown as answers.

Group indent removal UI issue

3 Answers 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 15 Oct 2015, 01:23 PM

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

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 20 Oct 2015, 11:29 AM
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 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
0
Ken
Top achievements
Rank 1
answered on 21 Oct 2015, 07:03 AM

Hi Petya,

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

 Thanks,

Adrian

0
Petya
Telerik team
answered on 21 Oct 2015, 12:58 PM
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
Tags
GridView
Asked by
Ken
Top achievements
Rank 1
Answers by
Petya
Telerik team
Ken
Top achievements
Rank 1
Share this question
or