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
700
Bound Object Events
posted

Is there a built in mechanism to wire up events from bound data objects?

For example, we have a class based on a generic list.  It has an event for DataBecameDirty.  It would be nice if the grid could consume that event and highlight the altered row to make it clear to the user that a row had been updated without having to set anything up.

If there isn't a built-in way to accomplish that we'll have to extend the control to add it I suppose.

  • 37774
    posted

     There isn't any way for the grid to know about this event since it does not exist on a common class, and the grid was designed to work with a large variety of objects.  I'm not sure if there's any way that you can derive the grid to create this kind of functionality, but you might be able to use the InitializeRow event of the grid in combination with your own event to see if you need to change the appearance of the row.

    -Matt