Home Forums WinForms controls Xceed Grid for WinForms FixedHeaderRows not shown Reply To: FixedHeaderRows not shown

User (Old forums)
Member
Post count: 23064

You need to have at least one column present in the grid.

e.g.:

grid.BeginInit();
grid.Clear();
grid.AllowCellNavigation = false;
grid.RowSelectorPane.Visible = false;

Column column = new Column( “Column1” );
grid.Columns.Add( column );

TextRow row = new TextRow(“New TextRow”);
grid.FixedHeaderRows.Add(row);
grid.EndInit();

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