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

ShowColumnWhenGrouped and XAML defined ColumnGroupDescriptor

6 Answers 251 Views
GridView
This is a migrated thread and some comments may be shown as answers.
vk
Top achievements
Rank 1
vk asked on 26 Jan 2012, 03:22 PM

A GridViewDataColumn remains visible when grouped with a xaml defined ColumnGroupDescriptor. Is it a bug?

<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding ProductGroup.Name}" UniqueName="productGroupColumn" ShowColumnWhenGrouped="False" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding WagonVolume}" >
</telerik:RadGridView.Columns>
 
<telerik:RadGridView.GroupDescriptors>
<telerik:ColumnGroupDescriptor Column="{Binding Columns[\productGroupColumn\], ElementName=lossesGridView}" />
</telerik:RadGridView.GroupDescriptors>

6 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 26 Jan 2012, 03:31 PM
Hi Valentin,

Thanks for reporting this . It appears to be a bug. I am scheduling this to be fixed.
I am also updating your Telerik points. Thanks for the valuable feedback!

Kind regards,
Pavel Pavlov
the Telerik team

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

0
James
Top achievements
Rank 1
answered on 20 Nov 2012, 09:46 PM
Hi, has this issue been resolved in a new release?

Cheers, James
0
Yoan
Telerik team
answered on 23 Nov 2012, 01:52 PM
Hello James,

I am happy to inform you that the fix will be officially available for the Q3 SP1 release, which is scheduled for the next week.

Kind regards,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Pavel Pavlov
Telerik team
answered on 26 Nov 2012, 01:38 PM
Hi James,

A quick follow up :

Latest versions should already contain the fix . No need to wait for the service pack .

* Please be sure to use a ColumnSortDescriptor rather than plain GroupDescriptor.

Greetings,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Thomas
Top achievements
Rank 1
answered on 10 May 2013, 12:01 PM
Hello,

it seems like the ShowColumnWhenGrouped-property on GridViewDataColumn is not respected when ColumnGroupDescriptors are applied from code. The columns are grouped as expected but they still show up in the grid even though ShowColumnWhenGrouped is set to false.
Best regards,

Bernd
0
Pavel Pavlov
Telerik team
answered on 15 May 2013, 09:26 AM
Hello Bernd,

I have just performed the following test In attempt to reproduce the problem

1. Set ShowColumnWhenGrouped="False" for a column
2. Added a button to the app and in the click event handler I added some code to create a ColumnGroupDescriptor and add it to RadGridview.

As a result after clicking the button the column was hidden as expected.


It seems I am not able to reproduce the issue. Maybe I am missing something . Can you please share some details that might help reproducing the issue locally ?

Regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
vk
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
James
Top achievements
Rank 1
Yoan
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or