PDA

View Full Version : Text in loadMask



janixams
22 Jun 2008, 10:03 PM
Hi again,
I need to change the loading text in a grid load mask.
I use "loadMask: true" in the grid but: how can I set a new text?
I saw the Ext.LoadMask class in the API and the "msg" oject config, but I don't know how to use it.
Please, can anybody help me?
Thanks in advance.

hendricd
23 Jun 2008, 7:46 PM
@janixams -- the loadMask is a config option. As such, any non-false(or null) value is useful:



loadMask:true //defaults to 'Loading...'
loadMask:{msg:'Read the API Docs', msgCls:'really-big-letters'} //works too

janixams
23 Jun 2008, 7:54 PM
Thank you for your help hendricd.

It's OK now. :)