Fix #6864 - dynamicall adding columns
[roojs1] / docs / json / roodata.json
index 054a06e..c62582a 100644 (file)
         "static" : true,
         "memberOf" : ""
       },
-      {
-        "name" : "namespace",
-        "type" : "function",
-        "desc" : "Creates namespaces to be used for scoping variables and classes so that they are not global.  Usage:\n<pre><code>\nRoo.namespace('Company', 'Company.data');\nCompany.Widget = function() { ... }\nCompany.data.CustomStore = function(config) { ... }\n</code></pre>",
-        "sig" : "(namespace1, namespace2, etc)",
-        "static" : true,
-        "memberOf" : ""
-      },
       {
         "name" : "onReady",
         "type" : "function",
       }
     ],
     "methods" : [
+      {
+        "name" : "addColumn",
+        "type" : "function",
+        "desc" : "Add a column (experimental...) - defaults to adding to the end..",
+        "sig" : "(config)",
+        "static" : false,
+        "memberOf" : ""
+      },
       {
         "name" : "addEvents",
         "type" : "function",
       {
         "name" : "getColumnByDataIndex",
         "type" : "function",
-        "desc" : "Returns the column for a specified dataIndex.",
+        "desc" : "Returns the column Object for a specified dataIndex.",
         "sig" : "(dataIndex)",
         "static" : false,
         "memberOf" : ""