KoGrid icon indicating copy to clipboard operation
KoGrid copied to clipboard

Changes to view model not shown in grid

Open pontusn opened this issue 12 years ago • 0 comments

The grid initially renders fine, but when cells are not refreshed when the underlying value is updated.

The problem seems to originate from the propertyCache row.js:

Original: self.propertyCache = {}; self.getProperty = function (path) { return self.propertyCache[path] || (self.propertyCache[path] = window.kg.utils.evalProperty(self.entity, path)); };

Working: self.getProperty = function (path) { return window.kg.utils.evalProperty(self.entity, path); }

pontusn avatar Mar 13 '13 19:03 pontusn