| Package | view.primeFaces.surfaceComponents.components |
| Class | public class DataTable |
| Inheritance | DataTable spark.components.DataGrid |
| Implements | view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IDataProviderComponent, view.interfaces.IHistorySurfaceCustomHandlerComponent |
Representation of PrimeFaces dataTable component
Visual Editor XML:
<DataTable
Attributes
width="120"
height="120"
paginator="false"
resizableColumns="false"
var="" value=""
emptyMessage="No records found.">
<column headerText="Column 1" value=""/>
</DataTable>
PrimeFaces output:
<p:dataTable
Attributes
style="width:120px;height:120px;"
paginator="false"
resizableColumns="false"
var="" value=""
emptyMessage="No records found.">
<p:column headerText="Column 1" value="">
<h:outputText value=""/>
</p:column>
</p:dataTable>
Default MXML PropertydataProvider
| Property | Defined By | ||
|---|---|---|---|
| emptyMessage : String
PrimeFaces: emptyMessage
| DataTable | ||
| height : Number [override] [read-only]
PrimeFaces: style
| DataTable | ||
| paginator : Boolean
PrimeFaces: paginator
| DataTable | ||
| percentHeight : Number [override] [read-only]
PrimeFaces: style
| DataTable | ||
| percentWidth : Number [override] [read-only]
PrimeFaces: style
| DataTable | ||
| resizableColumns : Boolean [override] [write-only]
PrimeFaces: resizableColumns
| DataTable | ||
| tableValue : String
PrimeFaces: value
| DataTable | ||
| tableVar : String
PrimeFaces: var
| DataTable | ||
| width : Number [override] [read-only]
PrimeFaces: style
| DataTable | ||
| Method | Defined By | ||
|---|---|---|---|
| DataTable | |||
toRora():XML | DataTable | ||
toRoyaleConvertCode():XML | DataTable | ||
| Constant | Defined By | ||
|---|---|---|---|
| ELEMENT_NAME : String = DataTable [static] | DataTable | ||
| PRIME_FACES_XML_ELEMENT_NAME : String = dataTable [static] | DataTable | ||
| emptyMessage | property |
emptyMessage:String
PrimeFaces: emptyMessage
The default value is "No records found.".
This property can be used as the source for data binding.
public function get emptyMessage():String public function set emptyMessage(value:String):void<DataTable emptyMessage="No records found."/>
<p:dataTable emptyMessage="No records found."/>
| height | property |
height:Number [read-only] [override]
PrimeFaces: style
The default value is "120".
This property can be used as the source for data binding.
public function get height():Number<DropDownList height="120"/>
<p:dataTable style="width:100px;height:120px;"/>
| paginator | property |
paginator:Boolean
PrimeFaces: paginator
The default value is "false".
This property can be used as the source for data binding.
public function get paginator():Boolean public function set paginator(value:Boolean):void<DataTable paginator="false"/>
<p:dataTable paginator="false"/>
| percentHeight | property |
percentHeight:Number [read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentHeight():Number<DataTable percentHeight="80"/>
<p:dataTable style="height:80%;"/>
| percentWidth | property |
percentWidth:Number [read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentWidth():Number<DataTable percentWidth="80"/>
<p:dataTable style="width:80%;"/>
| resizableColumns | property |
resizableColumns:Boolean [write-only] [override]
PrimeFaces: resizableColumns
The default value is "false".
This property can be used as the source for data binding.
public function set resizableColumns(value:Boolean):void<DataTable resizableColumns="false"/>
<p:dataTable resizableColumns="false"/>
| tableValue | property |
tableValue:String
PrimeFaces: value
This property can be used as the source for data binding.
public function get tableValue():String public function set tableValue(value:String):void<DataTable value=""/>
<p:dataTable value=""/>
| tableVar | property |
tableVar:String
PrimeFaces: var
This property can be used as the source for data binding.
public function get tableVar():String public function set tableVar(value:String):void<DataTable var=""/>
<p:dataTable var=""/>
| width | property |
width:Number [read-only] [override]
PrimeFaces: style
The default value is "120".
This property can be used as the source for data binding.
public function get width():Number<DataTable width="120"/>
<p:dataTable style="width:120px;height:30px;"/>
| DataTable | () | Constructor |
public function DataTable()| toRora | () | method |
public function toRora():XMLReturnsXML |
| toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XMLReturnsXML |
| ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = DataTable| PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = dataTable