Hi,
I have added an event to the editor rather than for cell as I read it somewhere in the forums.
AddHandler Typeeditor.SelectedIndexChanged, AddressOf Me.Typeeditor_SelectedIndexChanged
When I click on the combobox the event gets fired. After selecting a item again the event gets fired. So till here no problem but the textbox value isnt getting updated. If I select another data on another cell then the textbox gets updated. What could be the problem.
Private Sub Typeeditor_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
Call GetSortOrder()
End Sub
Public Sub GetSortOrder()
Dim rows As Xceed.Grid.Collections.ReadOnlyDataRowList = sprdCriteria.GetSortedDataRows(True)
For Each row In rows
strOrder = row.Cells(6).Value
If strOrder <> “” Then
txtOrder.text = strOrder
End If
Next
End Sub
Is there any other way how I can achieve this? Or the event I used is not the right one? Any1 please help me.
Imported from legacy forums. Posted by prem_rajani (had 1970 views)