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.
Unfortunately, activation email could not send to your email. Please try again.

GridDataBound - ComboCellType

Thread ID:

Created:

Updated:

Platform:

Replies:

23880 Jan 21,2005 01:56 PM Jan 21,2005 04:58 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 21, 2005 01:56 PM

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

Administrator [Syncfusion]
Replied On January 21, 2005 04:58 PM

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

CONFIRMATION

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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;