X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsymbols%2FRoo.View.json;fp=docs%2Fsymbols%2FRoo.View.json;h=b5ceb33d100f29fed0d86c9674e464edba89607d;hb=829d667c127b960891712f8e26a865e0b7b51b52;hp=72fba1da5d846e8778481b78a3eb1f7194864379;hpb=39f688612535a7827ddd954bc0a9fc304bf0ecc7;p=roojs1 diff --git a/docs/symbols/Roo.View.json b/docs/symbols/Roo.View.json index 72fba1da5d..b5ceb33d10 100644 --- a/docs/symbols/Roo.View.json +++ b/docs/symbols/Roo.View.json @@ -12,7 +12,7 @@ "tree_parent" : [], "desc" : "Create a \"View\" for an element based on a data model or UpdateManager and the supplied DomHelper template. \nThis class also supports single and multi selection modes.
\nCreate a data model bound view:\n
\n var store = new Roo.data.Store(...);\n\n var view = new Roo.View({\n    el : \"my-element\",\n    tpl : '<div id=\"{0}\">{2} - {1}</div>', // auto create template\n \n    singleSelect: true,\n    selectedClass: \"ydataview-selected\",\n    store: store\n });\n\n // listen for node click?\n view.on(\"click\", function(vw, index, node, e){\n alert('Node \"' + node.id + '\" at index: ' + index + \" was clicked.\");\n });\n\n // load XML data\n dataModel.load(\"foobar.xml\");\n 
\n For an example of creating a JSON/UpdateManager view, see {@link Roo.JsonView}.\n

\nNote: The root of your template must be a single node. Table/row implementations may work but are not supported due to\nIE\"s limited insertion support with tables and Opera\"s faulty event bubbling.\n\nNote: old style constructor is still suported (container, template, config)", "isSingleton" : false, - "isStatic" : true, + "isStatic" : false, "isBuiltin" : false, "isAbstract" : false, "isBuilderTop" : false,