blob: 5bfe3b6c19caceca4bd097a7c85aa2ed629ab8d4 [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.express.DataGrid",
"baseClassname": "org.apache.royale.html.DataGrid"
,
"description": "This class extends DataGrid and adds beads for drag and drop and column reordering.",
"tags": [
{ "tagName": "flexdocurl",
"values": ["https://flex.apache.org/asdoc/spark/components/DataGrid.html"]},
{ "tagName": "flexcomponent",
"values": ["spark.components.DataGrid"]},
{ "tagName": "commentary",
"values": ["The Royale DataGrid is very similar to the Flex DataGrid. You define the DataGrid using DataGridColumn, assigning to each column a field in the data provider and an itemRenderer to display the data.", "The Royale Express DataGrid is packaged with support for drag-and-drop and column re-ordering."]},
{ "tagName": "example",
"values": ["<js:DataGrid width="300" height="400">", "  <js:beads>", "   <js:ConstantBinding", "    sourceID="applicationModel"", "    sourcePropertyName="productList"", "    destinationPropertyName="dataProvider" />", "  </js:beads>", "  <js:columns>", "   <js:DataGridColumn label="Image" dataField="image" columnWidth="50" itemRenderer="products.ProductItemRenderer" />", "   <js:DataGridColumn label="Title" dataField="title" columnWidth="150" />", "   <js:DataGridColumn label="Sales" dataField="sales" columnWidth="100" />", "  </js:columns>", "</js:DataGrid>"]} ],
"members": [
{ "type": "method",
"qname": "org.apache.royale.express.DataGrid",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"return": "",
"params": []}
,
{ "type": "method",
"qname": "addedToParent",
"namespace": "public",
"bindable": [],
"details": ["override"],
"deprecated": {},
"return": "void",
"params": []}
,
{ "type": "accessor",
"access": "read-write",
"return": "org.apache.royale.core.IDataProviderNotifier",
"qname": "dataNotifier",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The IDataProviderNotifier that will watch for data provider changes.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Boolean",
"qname": "dragEnabled",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Allows list items to be dragged",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Boolean",
"qname": "dropEnabled",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Allows items to be dropped in the list (such as reordering items)",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}