Home Forums WinForms controls Xceed Grid for WinForms DetailGridTemplate Reply To: DetailGridTemplate

User (Old forums)
Post count: 23064

You have two choices.

You can simply hide the columns you don’t want.

e.g.:  gridControl1.Columns( “Address” ).Visible = false;

Or you can turn off the auto generating of columns when the grid is bound, and provide only the ones you want.


detail.AutoCreateColumns = false;

Dim FirstNameColumn As New DataBoundColumn( “FirstName” )

detail.Columns.Add( FirstNameColumn )

Then bind the grid.


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