json - the Loading... Message in Grid when there is no data. ExtJs Grid -


in application, when there no records on db, json receiving below.

json message: {"totalcount":0,"responseobject":[]} 

but in grid loading... mask not going off. says loading if there no data in image below.

no records image

please suggest me how rid of when there no data, want show empty grid without loading mask.

i think may know problem is, because had same issue.

for me, reason why loading mask wouldn't resolve not because there no records, because trying select first record in grid when there none.

this throws javascript error looks this: "uncaught typeerror: cannot read property 'id' of undefined "

because of error, stops other ext javascript processes, , mask never gets chance resolve.

so, solve problem, make sure store's 'load' event handlers not try things records not exist in grid. worked me.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -