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

DataBoundGrid Updating

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

1 Reply

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

Loader.
Live Chat Icon For mobile
Up arrow icon