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

DataBoundGrid Updating

Thread ID:





2197 Dec 20,2002 02:40 PM UTC Dec 20,2002 03:23 PM UTC WinForms 1
Tags: GridControl
Jeff Walstrom
Asked On December 20, 2002 02:40 PM UTC

I am using a databound grid that updates the underlying datasource. I use a check box and can check multiple items the problem is that if I check three items only two update the database and the third only shows updated after I move from the cell or to another control on the form. I need to know if there is a way to make this change to the underlying datasource automatic when the check box is clicked instead of having to go to another control. Any help would be appreciated. Jeff

Administrator [Syncfusion]
Replied On December 20, 2002 03:23 PM UTC

Here is something you can try. Catch the CurrentCellChanged event, and if the currentcell is your checkbox column (look at GridDataBoundGrid.CurrentCell.ColIndex), then try calling GridDataBoundGrid.Binder.EndEdit to save the chhanges immediately.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon