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
775
Grid Row Refresh Issue
posted

Hi,

My actual issue is exactly the same as the issue in this post: http://forums.infragistics.com/forums/p/33155/181098.aspx#181098. The only difference is that in the other forum post the user was binding to a calculated column being updated by a SQL Server call. That is NOT the case here ...

To recap quickly, I have an application that has multiple grids and win forms. A certain number of them bind to the same data table underneath. When I go to update a field in one of the win forms, I expect that same field in the grids to be updated as well since they are bound to the same data column. What I instead have to do is to click on another record in one of the grids and then click back to the record that was updated to see the change. I'm actually expecting that as soon as I tab off the field in the win form the same field in the grids is updated.

In the other forum post it was mentioned that this could be caused by the binding not sending a notification to the other controls to refresh. What would cause this to happen? What would be a fix that could be applied to correct this?

To answer some of the questions Mike had in the other forum post: The typical example in my application is an Order Qty field. If the user changes the value in the win form in the UltraNumericEditor control that is bound to the order quantity data column, the order quantity in the grid columns (also bound to the order quantity data column) do not update when the user tabs out of the UltraNumericEditor. The property I'm binding to for this field is the "Text" property.

Any help solving this issue would be greatly appreciated.

Thank you,

Steve

 

Parents Reply
  • 9364
    posted in reply to Mike Saltzman

    Hi Mike,

         Steve (thread author) and I are co-workers . We created a sample project to illustrate the problem Steve wrote about in this thread. 

        

    Notice in the image how field values are different. I changed the ID field at bottom and tabbed out. But the Grid continue to show the old value.

    However, the very first time when I update the ID form field and tab out, it updates the Grid as expected. After that time, the Grid no longer refreshes on  tabbing out out of  ID form field . I have to either hover over the Grid row I just updated or click on another row to make it refresh.

    You can see this in a very simple example I attaching. We would appreciate if you could try it and let us know what is causing this behavior.

    Thank you very much!

     

    PS; Since we are using an older version of Infragistics, I have built the solution with "copy local" to help you build quickly.

     

Children