In the GridControl I have in my app, I have just noticed that when I double-click on a column header when the focus is on the separation between 2 columns (the cursor is the resize one) I have 2 unexpected behaviors.
1. the column is resize to its initial width
2. all hidden columns after that one are displayed
How can I prevent those behaviors?
The ResizeRowsBehavior property = ResizeSingle, OutlineHeaders, OutlineBounds
ADAdministrator Syncfusion Team August 25, 2004 02:51 AM
This behavior is by design. If you do not want it, you can try handling the ResizingCols event and cancel things when it is a doubleclick.
’ add the handler
AddHandler Me.GridControl1.ResizingCols, Addressof GridResizingCols
Private Sub GridResizingCols(sender As Object, e As GridResizingColsEventArgs)
If e.Reason = GridResizeCellsReason.DoubleClick Then
e.Cancel = True
End Sub ’GridResizingRows