examples/grid/viewpanel.js
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 08:41:07 +0000 (16:41 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 08:41:07 +0000 (16:41 +0800)
examples/grid/viewpanel.js

index 797d534..51acb75 100644 (file)
@@ -73,7 +73,7 @@ Roo.onReady(function(){
     
 
     // create the editor grid
-    var grid = new Roo.grid.Grid('view', {
+    var grid = new Roo.ViewPanel('view', {
         ds: ds,
         cm: cm,
         selModel: new Roo.grid.RowSelectionModel({singleSelect:true}),