docs/src/Roo_bootstrap_Card.js.html
[roojs1] / docs / symbols / Roo.grid.EditorGrid.json
index 1e0a4cc..1efadd4 100644 (file)
@@ -41,7 +41,7 @@
       "type" : "Object",
       "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  </code></pre>",
       "memberOf" : "Roo.util.Observable",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
@@ -49,7 +49,7 @@
       "type" : "Boolean",
       "desc" : "True to automatically resize the columns to fit their content\n<b>on initial render.</b> It is more efficient to explicitly size the columns\nthrough the ColumnModel's {@link Roo.grid.ColumnModel#width} config option.  Default is false.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
@@ -57,7 +57,7 @@
       "type" : "Boolean",
       "desc" : "If autoSizeColumns is on, maxRowsToMeasure can be used to limit the number of\nrows measured to get a columns size. Default is 0 (all rows).",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
@@ -65,7 +65,7 @@
       "type" : "Number",
       "desc" : "The minimum width a column can be resized to. Default is 25.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
@@ -73,7 +73,7 @@
       "type" : "String",
       "desc" : "The id (or dataIndex) of a column in this grid that should expand to fill unused space. This id can not be 0. Default is false.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
@@ -81,7 +81,7 @@
       "type" : "Number",
       "desc" : "The maximum width the autoExpandColumn can have (if enabled). Default is 1000.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
@@ -89,7 +89,7 @@
       "type" : "Boolean",
       "desc" : "True to manually sync row heights across locked and not locked rows. Default is false.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
@@ -97,7 +97,7 @@
       "type" : "Boolean",
       "desc" : "True to autoSize the grid when the window resizes. Default is true.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Number",
       "desc" : "The minimum width the autoExpandColumn can have (if enabled).\nDefault is 50.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Object",
       "desc" : "The {@link Roo.grid.GridView} used by the grid. This can be set before a call to render().",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to set the grid's width to the default total width of the grid's columns instead\nof a fixed width. Default is false.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "String",
       "desc" : "- drag drop group.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to enable drag of rows. Default is false. (double check if this is needed?)",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Number",
       "desc" : "Sets the maximum height of the grid - ignored if autoHeight is not on.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to highlight rows when the mouse is over. Default is true.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Object",
       "desc" : "An {@link Roo.LoadMask} config or true to mask the grid while loading. Default is false.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to stripe the rows.  Default is true.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to enable drag and drop reorder of columns. Default is true.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to enable hiding of columns with the header context menu. Default is true.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Number",
       "desc" : "The number of clicks on a cell required to display the cell's editor (defaults to 2)",
       "memberOf" : "Roo.grid.EditorGrid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to measure headers with column data when auto sizing columns. Default is true.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to enable drag and drop of rows. Default is false.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Roo.dd.DropTarget",
       "desc" : "An {@link Roo.dd.DropTarget} config",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     },
     {
       "type" : "Boolean",
       "desc" : "True to fit the height of the grid container to the height of the data. Default is false.",
       "memberOf" : "Roo.grid.Grid",
-      "values" : [
+      "optvals" : [
       ]
     }
   ],
       "returns" : [
       ]
     },
+    {
+      "name" : "addColumns",
+      "desc" : "addColumns\nAdd's a column, default at the end..",
+      "isStatic" : false,
+      "isConstructor" : false,
+      "isPrivate" : false,
+      "memberOf" : "Roo.grid.Grid",
+      "example" : "",
+      "deprecated" : "",
+      "since" : "",
+      "see" : "",
+      "params" : [
+        {
+          "name" : "position",
+          "type" : "int",
+          "desc" : "to add (default end)",
+          "isOptional" : false
+        },
+        {
+          "name" : "of",
+          "type" : "Array",
+          "desc" : "objects of column configuration see {@link Roo.grid.ColumnModel}",
+          "isOptional" : false
+        }
+      ],
+      "returns" : [
+      ]
+    },
     {
       "name" : "render",
       "desc" : "Called once after all setup has been completed and the grid is ready to be rendered.",
     {
       "name" : "validateedit",
       "desc" : "Fires after a cell is edited, but before the value is set in the record. \nYou can use this to modify the value being set in the field, Return false\nto cancel the change. The edit event object has the following properties <br />\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>editor - This editor</li>\n<li>grid - This grid</li>\n<li>record - The record being edited</li>\n<li>field - The field name being edited</li>\n<li>value - The value being set</li>\n<li>originalValue - The original value for the field, before the edit.</li>\n<li>row - The grid row index</li>\n<li>column - The grid column index</li>\n<li>cancel - Set this to true to cancel the edit or return false from your handler.</li>\n</ul>",
-      "memberOf" : "",
+      "memberOf" : "Roo.grid.EditorGrid",
       "example" : "",
       "deprecated" : "",
       "since" : "",
     {
       "name" : "beforeedit",
       "desc" : "Fires before cell editing is triggered. The edit event object has the following properties <br />\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>grid - This grid</li>\n<li>record - The record being edited</li>\n<li>field - The field name being edited</li>\n<li>value - The value for the field being edited.</li>\n<li>row - The grid row index</li>\n<li>column - The grid column index</li>\n<li>cancel - Set this to true to cancel the edit or return false from your handler.</li>\n</ul>",
-      "memberOf" : "",
+      "memberOf" : "Roo.grid.EditorGrid",
       "example" : "",
       "deprecated" : "",
       "since" : "",
     {
       "name" : "afteredit",
       "desc" : "Fires after a cell is edited. <br />\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>grid - This grid</li>\n<li>record - The record being edited</li>\n<li>field - The field name being edited</li>\n<li>value - The value being set</li>\n<li>originalValue - The original value for the field, before the edit.</li>\n<li>row - The grid row index</li>\n<li>column - The grid column index</li>\n</ul>",
-      "memberOf" : "",
+      "memberOf" : "Roo.grid.EditorGrid",
       "example" : "",
       "deprecated" : "",
       "since" : "",