Home › Forums › WinForms controls › Xceed Grid for WinForms › Use Bind or UnBindColumn for a detail object collection?
For Exmaple : A Edit Invoice Form,which has a Grid for Invoice Details.
Header Object : Invoice, may have 30 properties
Detail Object : InvoiceDetail, may have 30 properties.
Only 10 of 30 properties need be displayed in DataGrid Columns.
BindColumn or UnColumn is better for these 10 ?
Is there a property such as “AutoGenColumn” in DataGridView ?
I think this problem is important for me to decide use xceedgrid or not.
Imported from legacy forums. Posted by neu_dancer (had 2265 views)
You can set the DetailGrid.AutoCreateColumns Property to false and then simply “add” the columns yourself. Make sure that they have the same field name than the ones found in your object.
Imported from legacy forums. Posted by Matt (had 198 views)
Imported from legacy forums. Posted by neu_dancer (had 3394 views)