PDA

View Full Version : How to add a mask when the grid is saving



cylix
30 May 2007, 10:38 PM
i want to add a mask when the gird is saving data...
but i don't want to add a div in the jsp do myselft...

i just wanna to use it like the effect of the method ---> form.submit().....

can someone help me please?

tryanDLS
31 May 2007, 8:32 AM
This has been covered before. You can use mask (http://extjs.com/deploy/ext/docs/output/Ext.Element.html#mask) any element you want. In fact, since the grid masks itself on load if you config loadMask:true, you could look at the code and make it do the same thing in your save logic.