GovReady / odesurvey

Center for Open Data Enterprise website and Open Data Impact Survey
http://www.opendataenterprise.org
2 stars 2 forks source link

admin/survey/grid/ holds old value from grid cache instead of edited value #212

Open gregelin opened 9 years ago

gregelin commented 9 years ago

Data appears not change in grid after an edit and a sort. The change initially shows up when a field is updated. But when grid is sorted, the pre-edit value shows up in field. Replicating this problem suggest that the grid library is creating a cached value of all field values separate from the field values.

Temporary work around is to periodically reload the page. Better fix would be to reload the grid and it's cache in the background after an edit without reloading entire screen or losing setting of grid. Or maybe it is just a matter of updating one value in the grid?