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:
OlgunR
2026-01-27 12:08:47 +01:00
parent 7ce7a11a30
commit 234510e5db

View File

@@ -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