-
6 Mar 2007 8:25 AM #1
loading grid after page loading is complete
loading grid after page loading is complete
hello
i have a "small" problem with the grid example:
- is it possible to load the function after the "main" page is complete?
what i´m doing: i have an ajax interface and loading widgety dynamically.
is it possible to do something like ( a loaded widget by clicking a link):
Code:<div> <script> Ext.onReady(Example.init, Example, true); </script> <select name="light" id="light" style="display: none;"> <option value="Shade">Shade</option> <option value="Mostly Shady">Mostly Shady</option> <option value="Sun or Shade">Sun or Shade</option> <option value="Mostly Sunny">Mostly Sunny</option> <option value="Sunny">Sunny</option> </select> <script type="text/javascript" src="files/js/yui-ext/edit-grid.js"></script> <div id="editor-grid" style="border:1px solid #99bbe8;overflow: hidden; width: 535px; height: 225px;"></div> </div>
another thing:
is there a "solution" for saving changes right now?
-
6 Mar 2007 3:45 PM #2
yes
yes
just put your YAHOO.ext.EventManager.onDocumentReady() call in the bodys onLoad event to load when the page completes, or put it in a js function to draw your grid anytime.
-
7 Mar 2007 4:07 AM #3
and how?
can you give me a short example please?
Similar Threads
-
TabPanel Loading Dynamic page
By xmrcivicboix in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 22 Mar 2007, 12:05 PM -
Loading Indicator is still visible after update is complete.
By daft in forum Ext 1.x: Help & DiscussionReplies: 6Last Post: 17 Mar 2007, 7:05 PM -
Problem loading page in IE, OK in FF
By willogee in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 27 Feb 2007, 7:42 AM -
Loading external page into dialog
By jamaljohnson in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 18 Dec 2006, 1:37 PM -
patch for moving loading indicator on page grid toolbar
By jbowman in forum Community DiscussionReplies: 0Last Post: 13 Nov 2006, 6:44 PM


Reply With Quote