AD
Administrator
Syncfusion Team
March 22, 2006 05:54 AM UTC
Hi Chris,
A column can be prevented from moving by just comparing the e.Column and setting the e.AllowDrag property to False. Below is a code snippet.
Private Sub GridGroupingControl1_TableControlQueryAllowDragColumn(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.Grouping.GridQueryAllowDragColumnEventArgs) Handles GridGroupingControl1.TableControlQueryAllowDragColumn
If e.Column = " UWI" Then
e.AllowDrag = False
End If
End Sub
Regards,
Calvin.