Version6: Bugfixing, Vektorindexing etc
This commit is contained in:
@@ -322,7 +322,7 @@ Public Class ClassControlCreator
|
||||
Return control
|
||||
End Function
|
||||
|
||||
Public Shared Function CreateExistingTable(row As DataRow, columns As List(Of DD_DMSLiteDataSet.TBPM_CONTROL_TABLERow), designMode As Boolean) As GridControl
|
||||
Public Shared Function CreateExistingGridControl(row As DataRow, columns As List(Of DD_DMSLiteDataSet.TBPM_CONTROL_TABLERow), designMode As Boolean) As GridControl
|
||||
Dim oControl As GridControl = CreateBaseControl(New GridControl(), row, designMode)
|
||||
Dim oDatatable As New DataTable
|
||||
Dim oView As GridView
|
||||
@@ -331,6 +331,7 @@ Public Class ClassControlCreator
|
||||
|
||||
oView = oControl.DefaultView
|
||||
oView.OptionsView.ShowGroupPanel = False
|
||||
oControl.ContextMenu = Nothing
|
||||
|
||||
If Not designMode Then
|
||||
oView.OptionsBehavior.Editable = Not row.Item("READ_ONLY")
|
||||
@@ -338,9 +339,11 @@ Public Class ClassControlCreator
|
||||
|
||||
If row.Item("VKT_ADD_ITEM") = True Then
|
||||
oView.OptionsBehavior.AllowAddRows = DefaultBoolean.True
|
||||
oView.OptionsBehavior.AllowDeleteRows = DefaultBoolean.True
|
||||
oView.OptionsView.NewItemRowPosition = NewItemRowPosition.Bottom
|
||||
Else
|
||||
oView.OptionsBehavior.AllowAddRows = DefaultBoolean.False
|
||||
oView.OptionsBehavior.AllowDeleteRows = DefaultBoolean.False
|
||||
oView.OptionsView.NewItemRowPosition = NewItemRowPosition.None
|
||||
End If
|
||||
End If
|
||||
@@ -359,6 +362,7 @@ Public Class ClassControlCreator
|
||||
.NextPage.Visible = False
|
||||
.PrevPage.Visible = False
|
||||
.Prev.Visible = False
|
||||
|
||||
End With
|
||||
|
||||
For Each oRow As DD_DMSLiteDataSet.TBPM_CONTROL_TABLERow In columns
|
||||
|
||||
Reference in New Issue
Block a user