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

Only add the two lines of code I provided, and remove everything else you added in your code.  When calling the ColumnManagerRow constructor, it will automatically create all the ColumnManagerCell’s for the corresponding columns present in the gird.  Remember that when binding the grid, it automatically creates the columns that correspond to those present in the data source.

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