MS GridControl bei ReadOnly Editable = false
This commit is contained in:
@@ -742,8 +742,11 @@ Public Class frmMain
|
||||
GridViewWorkflows.Columns(oReducedColName).DisplayFormat.FormatString = "dd.MM.yyyy HH:MM:ss"
|
||||
Catch ex As Exception
|
||||
Try
|
||||
GridViewWorkflows.Columns("Zuletzt bearbeitet").DisplayFormat.FormatType = FormatType.DateTime
|
||||
GridViewWorkflows.Columns("Zuletzt bearbeitet").DisplayFormat.FormatString = "dd.MM.yyyy HH:MM:ss"
|
||||
If oReducedColName <> "Zuletzt bearbeitet" Then
|
||||
GridViewWorkflows.Columns("Zuletzt bearbeitet").DisplayFormat.FormatType = FormatType.DateTime
|
||||
GridViewWorkflows.Columns("Zuletzt bearbeitet").DisplayFormat.FormatString = "dd.MM.yyyy HH:MM:ss"
|
||||
|
||||
End If
|
||||
|
||||
Catch ex1 As Exception
|
||||
LOGGER.Warn($"(ResetLayout)Column [{oReducedColName}] or [Zuletzt bearbeitet] not part of OverviewSQL")
|
||||
@@ -1872,6 +1875,7 @@ Public Class frmMain
|
||||
LOGGER.Debug($"Adding tag [{GridViewWorkflows.Columns.Item("PROFILE_ID")}] for group...")
|
||||
Dim sd = GridViewWorkflows.GroupedColumns(index).GetTextCaption
|
||||
GridViewWorkflows.GroupedColumns(index).Tag = GridViewWorkflows.Columns.Item("PROFILE_ID")
|
||||
|
||||
Next
|
||||
GridViewWorkflows.CollapseAllGroups()
|
||||
LOGGER.Debug("finished Grouping!")
|
||||
|
||||
Reference in New Issue
Block a user