BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Private Sub GridGroupingControl1_TableControlCurrentCellCloseDropDown(sender As Object, e As GridTableControlPopupClosedEventArgs) Handles GridGroupingControl1.TableControlCurrentCellCloseDropDown
If e.TableControl.CurrentCell.Renderer.Model.Description = "GridComboBoxCellModelDesc" Then
Dim renderer As GridComboBoxCellRenderer = GridGroupingControl1.TableControl.CurrentCell.Renderer
If (renderer.ColIndex = 1) Then
ComboBoxNameInControls.SelectedIndex = renderer.ListBoxPart.SelectedIndex
End If
End sub
This
This triggers the SelectedIndex event for the Winform ComboBox (Private Sub ComboBoxNameInControl_SelectedIndexChanged (sender as object, e As EventArgs) Handles ComboBoxNameInControl.SelectedIndexChanged) and update it dynamically.
I have 3 questions related to this:
1) what procedures shall I follow to do the same with textboxes (on each side)
2) what event shall I pick on each side (WinForm and GGC) to get a perfectly synchronized form - and is it possible to avoid an event for each and every control (a more general approach)
3) I have an audit trail on the GGC side, with an event "GridGroupingControl1_RecordValueChanging" : is it possible to fire this event whenever a change is made on the WinForm controls side?
Thanks in advance!!! - Nicolas