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
185
xamDataGrid1.DataItems.CollectionChanged Event not firing?
posted

The event 'xamDataGrid1.DataItems.CollectionChanged' doesn't appear to be firing (v7.2 RTM) but perhaps this is by design and there is another way to perform what we need.

Whenever the XamDataGrid binds to a datasource (this happens fairly regularly in our scenario due to web-style paging) we need to be notified that the datasource has changed/dataitems collection is now different (if you're interested, it's because we need to update things like a 'total record count' label above the grid).

 Any ideas? Many thanks.

  • 8576
    Offline posted
    Hi Rich -
     
    Try listening to
     
    this.xamDataGrid1.RecordManager.Current.CollectionChanged
     
    instead.
     
    Joe Modica
     
     
    "richstokoe" wrote in message news:16271@forums.infragistics.com...

    The event 'xamDataGrid1.DataItems.CollectionChanged' doesn't appear to be firing (v7.2 RTM) but perhaps this is by design and there is another way to perform what we need.

    Whenever the XamDataGrid binds to a datasource (this happens fairly regularly in our scenario due to web-style paging) we need to be notified that the datasource has changed/dataitems collection is now different (if you're interested, it's because we need to update things like a 'total record count' label above the grid).

     Any ideas? Many thanks.



    http://forums.infragistics.com/forums/p/2733/16271.aspx#16271