dojox.grid.datagrid - Prevent Dojo Caching ItemFileWriteStore Data -
i'm working on web page uses dojo's enhancedgrid allow user edit data , save server. have edit , saving correctly grid shows old value of cell if refresh page. if close window , open again new value.
any thoughts?
you need tell grid update row after have saved server. here callback method looks like.
function onapplycelledithandler(ingrid, invalue, inrowindex, infieldindex) { ingrid.store.save({onerror: errorsaving}); ingrid.updaterow(inrowindex); }
i've had issues mechanism updated data , grid not seeing results. in other words, user loads grid user b loads grid. user makes change , user b reloads grid. user b doesn't see user a's change. you'll need make call grid.update() tell grid refresh new data supplied call fetch.
Comments
Post a Comment