PDA

View Full Version : Disable default loading text in grid



sanjay_1985
7 Mar 2014, 5:02 AM
Hi,
How would I disable/hide the 'loading' option when grid loads.
I tried the following option, it did not work.



grid.setLoading(false); grid.getStore().load();

mdnaveed42
7 Mar 2014, 5:33 AM
Hi,

Checkout this fiddle here (https://fiddle.sencha.com/fiddle/44f),
is this you required?

Thanks,
MD Naveed
\m/

scottmartin
7 Mar 2014, 10:17 AM
You can also update the viewConfig:



viewConfig: {
loadMask: false
},

sanjay_1985
10 Mar 2014, 3:15 AM
Both of the options are not working.

scottmartin
10 Mar 2014, 7:32 AM
Please provide an example of your setup so we can have a look:
https://fiddle.sencha.com/#home

brian428
10 Mar 2014, 7:39 AM
Both of the options are not working. Setting loadMask: false in the viewConfig definitely works. I use this all the time.

sanjay_1985
10 Mar 2014, 9:04 PM
Hi All,
Thanks for your response. We are using ext js 4.2. Both the options does not seem to work.

mdnaveed42
10 Mar 2014, 9:17 PM
Hi,

It will be helpful to assist you if you provide more details regarding the issue.

Thanks,
Md Naveed
\m/

brian428
10 Mar 2014, 9:24 PM
Hi All,
Thanks for your response. We are using ext js 4.2. Both the options does not seem to work. Don't just say "it doesn't work". Post an example of it not working at fiddle.sencha.com.

sanjay_1985
11 Mar 2014, 4:52 AM
Hi,
I have attached an working example for this issue.

brian428
11 Mar 2014, 5:19 AM
Hi, I have attached an working example for this issue.

Sorry, no. Sencha has created an excellent collaborative tool at fiddle.sencha.com. I'm not spending my time downloading and manually setting up your code to run, when there's a tool that you can use to set it up and get it running so that everyone can see it.