Hi. I am using your Q3 2009 WIn controls and would like to know how do I trap the selected item change event in a multi column combo box column in the grid view.
Additionally, I am trying to format the Drop down (grid element) of the column in a subroutine.
The grid itself is bound to a list and the multi-column combo box column is bound to another list. I am able to bound the dropdown list using;
Dim colLookup As GridViewMultiComboBoxColumn = TryCast(.Columns("SourceColumnIndex"), GridViewMultiComboBoxColumn)
If colLookup IsNot Nothing Then
colLookup.DataSource = SourceColumPicLst
colLookup.ValueMember = "ColumnIndex"
colLookup.DisplayMember = "ColumnIndex"
End If
That successfully binds and displays the list for the columns properly.
I would also like to format the dropdown displayed. I've attempted to access the editor control using the GetDefaultEditor() function of the Column setting that to a grid view. It however returns nothing. What event could I use to get to the grid element of the dropdown that will allow me to format the display?
Thank you for the assist.
Additionally, I am trying to format the Drop down (grid element) of the column in a subroutine.
The grid itself is bound to a list and the multi-column combo box column is bound to another list. I am able to bound the dropdown list using;
Dim colLookup As GridViewMultiComboBoxColumn = TryCast(.Columns("SourceColumnIndex"), GridViewMultiComboBoxColumn)
If colLookup IsNot Nothing Then
colLookup.DataSource = SourceColumPicLst
colLookup.ValueMember = "ColumnIndex"
colLookup.DisplayMember = "ColumnIndex"
End If
That successfully binds and displays the list for the columns properly.
I would also like to format the dropdown displayed. I've attempted to access the editor control using the GetDefaultEditor() function of the Column setting that to a grid view. It however returns nothing. What event could I use to get to the grid element of the dropdown that will allow me to format the display?
Thank you for the assist.