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
170
Cell changed event and underlying ado datarow column value changes
posted

We bind a datatable to a grid via SetDataBinding().  If you change a value in the underlying ado.net datarow that is ultimately bound to a visible column in the grid, the cell changing or cell changed event does not fire.  I'm guessing these only fire if the cell has focus and focus moves somewhere else.  Is there a way to tell the grid to respond to such changes, or an event on the grid we can wire to when this occurs, or do we have to jury rig a connection between the events of the datarow value changing to run the event handler for cell value changed?  We are in this situation because we are integrating the IG grid into an existing product that has a lot of existing code that we don't want to have to re-write.  Any suggestions would be helpful.  Thanks!

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     Is the grid actually updating to show the new data? If so, the InitializeRow will fire. If not, it means your data source is not robust enough to send notifications to bound controls, in which case you would have to handle the update manually.

Children
No Data