This commit is contained in:
SchreiberM 2020-01-16 11:45:00 +01:00
parent 1f6c197b7f
commit c3da7697cc

View File

@ -317,25 +317,25 @@ Public Class ClassWindreamDocGrid
gridView.Columns.Item("DocID").Visible = False
End If
Dim created, changed As String
Dim oCreatedFieldName, oChangedFieldName As String
If USER_LANGUAGE <> "de-DE" Then
changed = "Changed"
created = "Created"
oChangedFieldName = "Changed"
oCreatedFieldName = "Created"
Else
changed = "Geändert"
created = "Erstellt"
oChangedFieldName = "Geändert"
oCreatedFieldName = "Erstellt"
End If
Dim createdColumn = gridView.Columns(created)
If Not IsNothing(createdColumn) Then
createdColumn.DisplayFormat.FormatType = FormatType.DateTime
createdColumn.DisplayFormat.FormatString = CURRENT_DATE_FORMAT & " HH:MM:ss"
Dim oCreatedColumn = gridView.Columns(oCreatedFieldName)
If Not IsNothing(oCreatedColumn) Then
oCreatedColumn.DisplayFormat.FormatType = FormatType.DateTime
oCreatedColumn.DisplayFormat.FormatString = CURRENT_DATE_FORMAT & " HH:MM:ss"
End If
Dim changedColumn = gridView.Columns(changed)
If Not IsNothing(changedColumn) Then
changedColumn.DisplayFormat.FormatType = FormatType.DateTime
changedColumn.DisplayFormat.FormatString = CURRENT_DATE_FORMAT & " HH:MM:ss"
Dim oChangedColumn = gridView.Columns(oChangedFieldName)
If Not IsNothing(oChangedColumn) Then
oChangedColumn.DisplayFormat.FormatType = FormatType.DateTime
oChangedColumn.DisplayFormat.FormatString = CURRENT_DATE_FORMAT & " HH:MM:ss"
End If
If GridDocResult_BestFitColumns Then