MS
This commit is contained in:
@@ -417,22 +417,22 @@ Public Class ClassWindreamDocGrid
|
||||
|
||||
AddHandler dateedit.EditValueChanged, _datepickerValueChangedHandler
|
||||
e.RepositoryItem = dateedit
|
||||
'ElseIf typeId = 4 And editable = F Then
|
||||
' Dim dropdown As New RepositoryItemComboBox()
|
||||
' Dim matchingRows() As DataRow = DT_DROPDOWN_ITEMS.Select(String.Format("CONFIG_ID = {0}", configId), "SEQUENCE")
|
||||
ElseIf typeId = 10 And editable = True Then
|
||||
Dim dropdown As New RepositoryItemComboBox()
|
||||
Dim matchingRows() As DataRow = DT_DROPDOWN_ITEMS.Select(String.Format("CONFIG_ID = {0}", configId), "SEQUENCE")
|
||||
|
||||
' For Each matchingRow As DataRow In matchingRows
|
||||
' Dim item As New WindreamDocGridComboboxItem()
|
||||
' item.ConfigID = matchingRow.Item("CONFIG_ID")
|
||||
' item.Value = matchingRow.Item("VALUE")
|
||||
' dropdown.Items.Add(item)
|
||||
' Next
|
||||
For Each matchingRow As DataRow In matchingRows
|
||||
Dim item As New WindreamDocGridComboboxItem()
|
||||
item.ConfigID = matchingRow.Item("CONFIG_ID")
|
||||
item.Value = matchingRow.Item("VALUE")
|
||||
dropdown.Items.Add(item)
|
||||
Next
|
||||
|
||||
' AddHandler dropdown.SelectedValueChanged, _dropdownValueChangedHandler
|
||||
AddHandler dropdown.SelectedValueChanged, _dropdownValueChangedHandler
|
||||
|
||||
e.RepositoryItem = dropdown
|
||||
|
||||
' e.RepositoryItem = dropdown
|
||||
|
||||
'End If
|
||||
ElseIf typeId = 4 And editable Then
|
||||
Dim textedit As New RepositoryItemTextEdit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user