BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void grid2_CurrentCellShowingDropDown(object sender, GridCurrentCellShowingDropDownEventArgs e) { GridComboBoxCellRenderer cr = this.grid2.CurrentCell.Renderer as GridComboBoxCellRenderer; if(cr != null) { object o = cr.ListBoxPart.DataSource; cr.ListBoxPart.DataSource = null; cr.ListBoxPart.DataSource = o; } }
>private void grid2_CurrentCellShowingDropDown(object sender, GridCurrentCellShowingDropDownEventArgs e) >{ > GridComboBoxCellRenderer cr = this.grid2.CurrentCell.Renderer as GridComboBoxCellRenderer; > if(cr != null) > { > > object o = cr.ListBoxPart.DataSource; > cr.ListBoxPart.DataSource = null; > cr.ListBoxPart.DataSource = o; > } >} >