Home Forums WinForms controls Xceed Grid for WinForms change the text for the header row? Reply To: change the text for the header row?

User (Old forums)
Member
Post count: 23064

Simply use the GroupAdded event, and do the same as above in the event handler.

e.g. : 

private void Form1_Load( object sender, EventArgs e )

{

    gridControl1.GroupAdded +=

new GroupAddedEventHandler( gridControl1_GroupAdded );

}

void gridControl1_GroupAdded( object sender, GroupAddedEventArgs e )

{

    ( (

GroupManagerRow )e.Group.HeaderRows[ 0 ] ).TitleFormat = “%ColumnTitle% : %GroupTitle% – %DataRowCount% item(s)”;

}

Imported from legacy forums. Posted by André (had 981 views)