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

Completely remove Row indent when grouping?

1 Answer 86 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 15 Nov 2016, 03:14 PM

Is it possible to completely remove Row header when grouping?

When grouping, i would like to have completely flat style so Groups headers and the items are directly below each other without any indent.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dilyan Traykov
Telerik team
answered on 17 Nov 2016, 11:19 AM
Hello Ivo,

In order to achieve the desired result, you can define the following style:

<Style TargetType="telerik:IndentPresenter">
    <Setter Property="Visibility" Value="Collapsed" />
</Style>

If you're using implicit styles, you will need to base this style on the IndentPresenterStyle as suggested here.

Please let me know if this works for you.

Regards,
Dilyan Traykov
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Tim
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or