|124647||Jun 20,2016 06:14 PM UTC||Jun 28,2016 04:49 AM UTC||WinForms||12|
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
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
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.