X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/source/from-markup.html?ds=sidebyside diff --git a/docs/source/from-markup.html b/docs/source/from-markup.html new file mode 100644 index 00000000..0609383b --- /dev/null +++ b/docs/source/from-markup.html @@ -0,0 +1,24 @@ + + + The source code + + + + +
Ext.onReady(function(){
+    var btn = Ext.get("create-grid");
+    btn.on("click", function(){
+        btn.dom.disabled = true;
+        
+        // create the grid
+        var grid = new Ext.ux.grid.TableGrid("the-table", {
+            stripeRows: true // stripe alternate rows
+        });
+        grid.render();
+    }, false, {
+        single: true
+    }); // run once
+});
+
+ + \ No newline at end of file