Home Forums WinForms controls Xceed Grid for WinForms groupManagerRow Custom Text based on summary row Reply To: groupManagerRow Custom Text based on summary row

Xceed Support
Post count: 5658

You can directly subscribe to the GroupAdded event and override the TitleFormat to change to custom text.

<a href=”http://doc.xceedsoft.com/products/Xceedgrid/Xceed.Grid~Xceed.Grid.GroupManagerRow~TitleFormat.html”>GroupManagerRow’s Title Format</a>

Here is a little snippet that can get you started:


private void Form1_Load( object sender, EventArgs e )
gridControl1.GroupAdded += new Xceed.Grid.GroupAddedEventHandler( gridControl1_GroupAdded );

void gridControl1_GroupAdded( object sender, Xceed.Grid.GroupAddedEventArgs e )
foreach(GroupManagerRow row in e.Group.HeaderRows)
row.TitleFormat = “Task : Meeting – Total Effort : %SUM:EffortColumn%”;

Imported from legacy forums. Posted by CharlesB (had 3062 views)