Unplanned
Last Updated: 19 Oct 2020 06:16 by ADMIN
ADMIN
Dimitar
Created on: 01 Oct 2018 11:25
Category: GridView
Type: Bug Report
0
FIX. RadGridView - exception when setting ShowHeader to false and AutoSizeRows to true in ColumnGroupsViewDefinition
To reproduce:
- Add ColumnGroupsViewDefinition and set ShowHeader to false. 
- Set AutoSizeRows to true.

Workaround:
Manually set the row height.
  ViewDefinition.ColumnGroups(0).Rows(0).MinHeight = 50

2 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 19 Oct 2020 06:16

Hi, Robert,

Thank you for sharing your solution with the community. I believe that it will be a useful workaround for some cases. 

Please make sure that you cast your vote for the item in order to increase its priority. Click the Follow button to get notified when any status changes occur.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Robert
Posted on: 15 Oct 2020 16:31

In case this helps anyone:

I came across this bug when trying to hide a group header by setting the group's ShowHeader to false. Fortunately, and easy workaround is to set the Group with empty-string name/title. This will cause the group header to not be rendered, even if ShowHeader is left at the default value True. At least, that's what worked for me in 2018.3 version.