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
1179
Grid Template column not update content on data change
posted

I have a template column in a grid with content controlled by a field in the row's data item. When that field is updated, the template columns don't always update themselves to reflect the change. I've attached a project to illustrate this, and you can also see the output in this screencast: https://www.screencast.com/t/VFRYHny6Pz. When the template column does not update, you can make it do so by scrolling the row off screen then back on again, after which it will reflect the change. This is also shown in the screencast. Also of note is that the calculated status column does not update itself when the underlying field changes (in response to the button click)

TemplateColumnIssue.zip

  • 7535
    Offline posted

    Hello Kevin,

    Thank you for sharing the sample . I am able to reproduce the behavior you described although with current control version this in not how the grid get notify about the grid column change. Would have this functionality supported in future version for sure.

    For now have a look at this sample explain live data update template column.
    infragistics.com/.../data-grid-live-data.html

    You can find the source code of the sample here.
    github.com/.../binding-live-data


    Let me know if you have any question.