Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2490
ColumnStyle.CheckBox
posted

HI,

 

What is the best practice for edit the checkbox with mouse click ?

 

I use this feature and it works well, but when you click on the cell status changes. I wonder if the status changes only when you click on the little square of the cell.

.style = ColumnStyle.Checkbox

.FilterOperandStyle = FilterOperandStyle.Combo

.CellActivation = Activation.allowedit

.cellclickaction = CellClickAction.EditAndSelectText

 

Private Sub grid_CellChange(sender As Object, e As Infragistics.Win.UltraWinGrid.CellVentArgs) Handles grid.CellChange

     if grid.activecell.column.datatype.name = "Boolean" Then

           grid.performaction(UltraGridAction.ExitEditMode)

     End if

End Sub

Francois.