Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Private Sub Button34_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button34.Click
' CellClickAction indicates the action taken by the UltraGrid when the user clicks
' on a cell. By default, the UltraGrid goes into edit mode.
' Set the CellClickAction on the layout's Override to RowSelect. With RowSelect,
' when the user clicks on a cell, the associated row gets selected.
Me.UltraGrid1.DisplayLayout.Override.CellClickAction = CellClickAction.RowSelect
' You can override that grid-wide setting for a particular band by setting it on the
' override of that band.
Me.UltraGrid1.DisplayLayout.Bands(0).Override.CellClickAction = CellClickAction.CellSelect
End Sub