Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Changes in a ultragrid row is not commited to the bound datatable until I move cursor to another row


I am testing out an ultragrid on a winform. The ultragrid is bound to a datatable using dataset/tableadapter (wizard).

When I click the BindingNavigators save button my added row is only saved if I first move the cursor from the new row onto another row in the grid.

How can I change this setting/behavior?

The bindingsource.endedit method is called when the BindingNavigator save button is clicked, but it does not appear to have an effect if the cursor still is in the new grid row.



  • 469350
    Offline posted

    Hi Kai,

    The grid commits the changes to the underlying data source based on the UpdateMode property. By default, it happens when the grid loses focus or changes rows. You can change this property to also include changing cells.

    But I expect that your navigator doesn't take focus and therefore the grid is not losing focus and so the current cell in edit mode doesn't get committed. So what you probably need to do is something like this:



Reply Children