Download Visualforce Developer`s Guide
Transcript
Standard Component Reference
apex:dataTable
apex:dataTable
An HTML table that is defined by iterating over a set of data, displaying information about one item of data per row. The body of the
<apex:dataTable> contains one or more column components that specify what information should be displayed for each item
of data. The data set can include up to 1,000 items.
For Visualforce pages running Salesforce.com API version 20.0 or higher, an <apex:repeat> tag can be contained within this
component to generate columns.
See also: <apex:panelGrid>
This component supports HTML pass-through attributes using the "html-" prefix. Pass-through attributes are attached to the generated
table's <tbody> tag.
Example
<!-- For this example to render properly, you must associate the Visualforce page
with a valid account record in the URL.
For example, if 001D000000IRt53 is the account ID, the resulting URL should be:
https://Salesforce_instance/apex/myPage?id=001D000000IRt53
See the Visualforce Developer's Guide Quick Start Tutorial for more information. -->
<!-- Page: -->
<apex:page controller="dataTableCon" id="thePage">
<apex:dataTable value="{!accounts}" var="account" id="theTable" rowClasses="odd,even"
styleClass="tableClass">
<apex:facet name="caption">table caption</apex:facet>
<apex:facet name="header">table header</apex:facet>
<apex:facet name="footer">table footer</apex:facet>
<apex:column>
<apex:facet name="header">Name</apex:facet>
<apex:facet name="footer">column footer</apex:facet>
<apex:outputText value="{!account.name}"/>
</apex:column>
<apex:column>
399
Related documents
SkyVisualEditor User Manual
WebEOC 7.5 Administrator Manual
Base Software for Control Systems
Cobalt Nomad, Cobalt Client, & Cobalt Offline Quick Guide
Salesforce.com Winter `13 Release Notes
Development Guide
Slide Show
MultiMatch User Guide
User Manual - AAkonsult Pty Ltd
Salesforce Knowledge Implementation Guide
Limites do Salesforce
Ottimizzazione di Salesforce con il codice