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

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

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.

4 Replies

AD Administrator Syncfusion Team 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


JB James Blibo February 5, 2007 05:18 AM UTC

Which event do i call this from?


JB James Blibo 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


AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon