View Full Version : Ajax loading indicatior does not appear

21 Jan 2011, 2:21 AM
Hi there!

I have a JsonStore with an autoload:

var generalstore = new Ext.data.JsonStore({
root: 'result',
totalProperty: 'total',
url: '<?php echo url_for('modul/HistogrammSQL?id='.$modul->getId()) ?>',
autoLoad: true,
fields: ['Dauer', 'Anzahl'],

listeners: {
load: function ()
if (generalstore.getCount()>0)
if (formstore.getCount()==0)

but when the store load the data, the loading indicator does not appear.

With generalstore.reload() it's the same behaviour.

The store is used by a ColumnChart:

var MyChart = new Ext.chart.ColumnChart({
xtype: 'columnchart',
store: generalstore,//histogrammstore,
xField: 'Dauer',
yField: 'Anzahl',
xAxis: myXAxis,
yAxis: new Ext.chart.NumericAxis({
title: 'Anzahl'
extraStyle: {
yAxis: {
titleRotation: -90
Has anyone a clue?


21 Jan 2011, 5:13 AM
the charts don't exhibit a load mask.

21 Jan 2011, 5:38 AM
why not?

21 Jan 2011, 5:43 AM
they just don't.

21 Jan 2011, 5:54 AM
ok, so I have to solve it myself. The problem is that the queries behind can run for several minutes. So there is a need of an indicator.

Would be a feature request then, don't you think?

Perhaps you can move this thread to feature request.

Thanks for your help