Home Forums WinForms controls Xceed Grid for WinForms Use Bind or UnBindColumn for a detail object collection?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #14401 |

    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.

    Thanks!

    Imported from legacy forums. Posted by neu_dancer (had 2265 views)

    User (Old forums)
    Member
    Post count: 23064

    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)

    User (Old forums)
    Member
    Post count: 23064

    🙂 Thanks.

    Imported from legacy forums. Posted by neu_dancer (had 3394 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.