PDA

View Full Version : how to Scope Ext.data.HttpProxy



ismailbaskin
28 Dec 2010, 9:40 AM
I'm want to make spesific grid with CRUD function in my extension. but i can't figure out how to scope Ext.data.HttpProxy's events (beforewrite, write, exception). I want to access in this event functions to grid (extensions) properties.

Is there any way to do this?

Condor
28 Dec 2010, 12:41 PM
Add the event handlers after you've created the grid and specify the grid as the scope (or use createDelegate).