vitmalina/w2ui — pull request #227 by entebaer (2013-08-29 10:28:25+00:00)
Title: w2grid: doSave() failed to trigger event after saving to remote data source

Inside the callback after completing the remote request, 'this' would point to the window object, thus this.trigger() would give a 'TypeError: this.trigger is not a function'.
I solved this by creating a reference to the 'real' this before the callback.
---
Just a quick workaround to fix that problem for me.
If you solved similar functionality elsewhere already, feel free to discard this pull request and fix the bug using your own w2ui coding conventions :-)