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
180
Auto Refresh Problem of rows, datasource as binding list
posted

Hi,

I am facing problem of cell painting in wingrid. I am using IBindingList as datasource . If any update happens in binding list, particular cell should refresh with new value but it is not doing same behaviour. It happens only when I do any action like mouse move, mouse click , resize of window etc.

Please suggest, how can I remove this behaviour?

Parents
No Data
Reply
  • 37774
    posted

    From the sound of it, it seems like the type in your data source isn't notifying the BindingList (or the grid) that its contents have changed, so the grid doesn't know that it should update that cell.  If you're using the BindingList<T> class, you could implement INotifyPropertyChanged on your type, since the BindingList knows to hook this type and will propogate the notification to the BindingManager. 

    -Matt

Children