Completed
Last Updated: 31 Mar 2014 10:16 by ADMIN
ADMIN
Dimitar
Created on: 29 Nov 2013 10:27
Category: PivotGrid
Type: Bug Report
0
FIX. RadPivotGrid - the header text is reverted despite that it is set in GroupElementFormatting event handler.
To reproduce: - Set the text of a GroupElement in the GroupElementFormatting event handler.
- Start the grid and resize a column for example.
- You will notice the the text is reverted to its original value.

Workaround:
- Use the following CustomGroupElement class: public class CustomGroupElement : PivotGroupElement { protected override void SynchronizeProperties() { base.SynchronizeProperties(); this.Text = "test"; } protected override Type ThemeEffectiveType { get { return typeof(PivotGroupElement); } } }
- you can replace the default element with the custom one in GroupElementCreating event handler: Private Sub radPivotGrid1_GroupElementCreating(sender As Object, e As PivotGroupElementCreatingEventArgs) e.GroupElement = New CustomGroupElement() End Sub
0 comments