Copy only focused cell for main doc grid an all grids in validator

This commit is contained in:
Jonathan Jenne
2021-10-01 16:17:22 +02:00
parent 75d1ceb3de
commit 87b9198c36
4 changed files with 23 additions and 3 deletions

View File

@@ -423,6 +423,11 @@ Public Class ClassControlCreator
oView.OptionsBehavior.ReadOnly = row.Item("READ_ONLY")
oControl.UseEmbeddedNavigator = Not row.Item("READ_ONLY")
' Copy single cell value in CTRL+C instead of whole row
oView.OptionsSelection.MultiSelectMode = GridMultiSelectMode.CellSelect
oView.OptionsSelection.MultiSelect = True
oView.OptionsClipboard.CopyColumnHeaders = DefaultBoolean.False
If row.Item("VKT_ADD_ITEM") = True Then
oView.OptionsBehavior.AllowAddRows = DefaultBoolean.True
oView.OptionsBehavior.AllowDeleteRows = DefaultBoolean.True