Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does anyone have a simple example of a working DojoX Grid control ?
02-02-2011, 10:10 AM (This post was last modified: 02-02-2011 10:14 AM by tutorials4u.)
Post: #2
RE: Does anyone have a simple example of a working DojoX Grid control ?
Here you go:

Started with the standard Dojox Grid test page
Fixed CSS imports a la:

@import "http://ajax.googleapis.com/ajax/libs/dojo/1.2.3/dojox/grid/resources/Grid.css";

Loaded cross domain Dojo:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.2.3/dojo/dojo.xd.js" djConfig="isDebug:false, parseOnLoad: false">

...with parseOnLoad set to false.

Imported function that declares test_store and gave it a name:

loadStore = function(){ // some sample data

Started everything once all dojo.required classes had loaded:

dojo.addOnLoad( function(){ loadStore(); dojo.parser.parse() } );
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Does anyone have a simple example of a working DojoX Grid control ? - tutorials4u - 02-02-2011 10:10 AM

Forum Jump:



Send your comments, Suggestions or Queries regarding this site at info@tutorials4u.net

Copyright © 2010 Tutorials4u.net All Rights Reserved