public DropDownUserCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.ddUser = ((DropDownUserCellModel)this.Model).ddUser; this.ddUser.Visible = false; DropDownPart = new GridDropDownCellImp(this); DropDownButton = new GridCellComboBoxButton(this); //hook the usercontrol save and cancel events... this.ddUser.UserControlSave += new EventHandler(user_Save); this.ddUser.UserControlCancel += new EventHandler(user_Cancel); }
public DropDownCalculatorTextBoxCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { DropDownPart = new GridDropDownCellImp(this); DropDownButton = new GridCellComboBoxButton(this); }