Home Forums WinForms controls Xceed Grid for WinForms Selectable Rows

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

    How can I stop the grid from displaying selected rows or columns as a press the mouse button? I want no rows or columns to be selected/highlighted as I click on the grid. I still need the grid to be enabled and respond to the user events like mouse move or button down. Also, when the grid is initially displayed there is always a cell/row selected/highlighted. I want to prevent it from happening.

    How can I remove the row headers on the left side of the grid.

    Imported from legacy forums. Posted by romanr (had 1987 views)

    Xceed Support
    Member
    Post count: 5658

    Hello,

    You can prevent the DataRows from being selected by setting the CanBeSelected property to false on the DataRowTemplate. The same goes for other rows, they all have a CanBeSelected property.

    As for the RowSelectorPane, you can set its Visible property to false to hide it.

    GridControl1.RowSelectorPane.Visible = False

    I hope this helps!

    Imported from legacy forums. Posted by Jenny [Xceed] (had 3091 views)

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