examples/grid/edit-grid.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 29 Jun 2011 07:06:06 +0000 (15:06 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 29 Jun 2011 07:06:06 +0000 (15:06 +0800)
examples/grid/edit-grid.js

index 8a02959..36e3812 100644 (file)
@@ -10,7 +10,9 @@
  */
 
 Roo.BLANK_IMAGE_URL  = "../../images/default/s.gif";
+
+var grid = false;
+
 Roo.onReady(function(){
     Roo.QuickTips.init();
     function formatBoolean(value){
@@ -103,7 +105,7 @@ Roo.onReady(function(){
     });
 
     // create the editor grid
-    var grid = new Roo.grid.EditorGrid('editor-grid', {
+    grid = new Roo.grid.EditorGrid('editor-grid', {
         ds: ds,
         cm: cm,
         enableColLock:false,