PDA

View Full Version : Trigger loading message with grid



deving
23 Jan 2013, 10:02 AM
Hello:

I have a grid on a page along with a details section. The details section needs to display the details of the item selected in the grid. On page load, I retrieve the grid data and then show the details for the first item in the grid.

Currently, the grid shows its loading message inside the grid...once loaded, the ajax post is done to get the details of the first item and I have another loading message show while the user waits for the details to appear.

I would rather not have the grid Loading message show and just show the loading message that masks the whole page until both the grid and the ajax calls are complete. Any suggestions on how I can do this? Can I tie into an event in the grid and show the loading, and then close it when the details have loaded?

Thanks in advance...

mitchellsimoens
28 Jan 2013, 12:49 PM
set loadingText to false in the grid view to prevent the loading message