Home Forums WinForms controls Xceed Grid for WinForms Default Column for Databound Column

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

    How do I set default properties for a databound column? Specifically, I just want to display data, and not allow editing on the grid.

    Thanks!
    Drew

    Imported from legacy forums. Posted by Drew (had 2325 views)

    User (Old forums)
    Member
    Post count: 23064

    You set the ReadOnly of either a Column or the GridControl to true, and the user will not be able to edit it.

    e.g. :

    gridControl1.Columns[ 0 ].ReadOnly = true;

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

    User (Old forums)
    Member
    Post count: 23064

    Thanks. I got it working how I needed it to.

    Imported from legacy forums. Posted by Drew (had 3456 views)

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