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

Access the TitleFormat property on the GroupManagerRow.  You can do it in the designer if you create your group at design time, or through code if you create your group at run time.

e.g.:

 

Group countryGroup = new Group( “Country” );

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

gridControl1.GroupTemplates.Add( countryGroup );

 

The first HeaderRow of the group is the GroupManagerRow,

where you find the title of the group.

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