Home Forums WinForms controls Xceed Grid for WinForms Dynamically creating a HeaderRow Reply To: Dynamically creating a HeaderRow

User (Old forums)
Member
Post count: 23064

Simply use the ColumnManagerRow class :

ColumnManagerRow managerRow = new ColumnManagerRow();

gridControl1.FixedHeaderRows.Add( managerRow );

BTW, an easy way to find out how to do things in code is to do it through the designer in a sample project, and look at the code that is generated.  Then reproduce this code in your actual project.

 

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