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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can I update the record immediately when the combo box selected index change

Thread ID:

Created:

Updated:

Platform:

Replies:

55392 Jan 29,2007 07:06 PM UTC Feb 5,2007 07:26 PM UTC WinForms 4
loading
Tags: Grouping
James Blibo
Asked On January 29, 2007 07:06 PM UTC

I have a cell of type ComboBox.

I noticed that the record will not update immmediately when the combo box selected index change. You'll have to move to the next cell before this happens. How can I update or validate the selected index of the combo immediately when the value changes.

Administrator [Syncfusion]
Replied On January 30, 2007 01:04 PM UTC

Hi James,

Thank you for being patience.

Please try calling the Table.EndEdit method. This method ends the edit of the current record and saves the changes made to the underlying datasource.

Have a nice day.

Best regards,
Madhan

James Blibo
Replied On February 5, 2007 05:18 AM UTC

Which event do i call this from?

James Blibo
Replied On February 5, 2007 02:30 PM UTC



I am doing this...

void gridGroupingControl2_TableControlCurrentCellCloseDropDown(object sender, GridTableControlPopupClosedEventArgs e)
{
if (e.Inner.PopupCloseType == Syncfusion.Windows.Forms.PopupCloseType.Done)
{
e.TableControl.CurrentCell.EndEdit();
}
}

but that still doesn't commit the changes to the underlying datasource. I have to navigate to another cell before the changes are committed.

I need to save the value immediately the selected index of the combo box changes

Administrator [Syncfusion]
Replied On February 5, 2007 07:26 PM UTC

Hi James,

Please refer to the following forum thread for more details.
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=55802

Best Regards,
Haneef

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.

Warning Icon 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.Close Icon

;