Make GridView non-editable in frmMain
Set gridView.OptionsBehavior.Editable to False after best-fitting columns, ensuring users cannot edit cell values directly in the UI.
This commit is contained in:
@@ -1069,6 +1069,7 @@ Public Class frmMain
|
||||
If gridView IsNot Nothing Then
|
||||
gridView.OptionsView.ColumnAutoWidth = True
|
||||
gridView.BestFitColumns()
|
||||
gridView.OptionsBehavior.Editable = False
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
|
||||
Reference in New Issue
Block a user