Home Forums WinForms controls Xceed Grid for WinForms Is there a property like AutoGenerateColumns of DataGridView

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

    I do not want to bind all the property/fields to columns.

    Currently , I have to remove the addtional columns after set datasource.

    Is there a property just like “AutoGenerateColumns” of Microsoft DataGridView?

    Thanks.

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

    User (Old forums)
    Member
    Post count: 23064

    There is the AutoCreateColumns property on the GridControl that you can set to false. Then you need to create and add DataBoundColumn to the Columns collection, and then set the DataSource property.

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

    User (Old forums)
    Member
    Post count: 23064

    Thanks.

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

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