Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to show a loading message (Loading...) that shows while the datagrid is being populated.

It would show when the search button is clicked and disappear when the grid results have populated.

I've seen a few possible options including dojox.widget.Standby however, it looks like there is something that is already embedded in the dojox.grid.DataGrid

I can't find any documentation on how to access it or show it in my app. Anybody had any luck inserting a loading message in their app?

share|improve this question

You may need to pass it into the constructor as an option:

var grid = new DataGrid({
loadingMessage: "Loading...",
/* all your stuff */

You will probably get better answers faster relating to Dojo over on .

share|improve this answer
thanks. I tried it over there. I did find a span tag that accesses the loading message within dojox.grid.DataGrid but can't figure out how to use it properly – Craig Oct 30 '12 at 19:39
up vote 0 down vote accepted

The easiest method I've found to do this is by using:




It wasn't exactly what I was looking for but it does the trick and is only 2 lines of code.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.