We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GridDataBound - ComboCellType

We are using GridDataBound control and binded to a dataset, one of the column cell type attribute is combo box and it has been populated using ChoiceList. The only problem is user after selecting items from combo box has to tab out of the field so that dataset is updated with new value... is there any way where i can instruct griddatabound to update dataset on selectio nof item on combo box rather than user tabbing out of the field. (we associated a event handler to CurrentCellChanged event.. but this event is fired twice.. donno why..) Regards Yogi

1 Reply

AD Administrator Syncfusion Team January 21, 2005 09:58 PM UTC

Try handling the CurrentCellCloseDropDown event. private void gridDataBoundGrid1_CurrentCellCloseDropDown(object sender, Syncfusion.Windows.Forms.PopupClosedEventArgs e) { this.gridDataBoundGrid1.CurrentCell.EndEdit(); this.gridDataBoundGrid1.Binder.EndEdit(); }

Live Chat Icon For mobile
Up arrow icon