Download Visualforce Developer`s Guide

Transcript
Standard Component Reference
apex:enhancedList
Note: When an <apex:enhancedList> is rerendered through another component's rerender attribute, the
<apex:enhancedList> must be inside of an <apex:outputPanel> component that has its layout attribute set to
"block". The <apex:enhancedList> component is not allowed on pages that have the attribute showHeader set to false. You
can only have five <apex:enhancedList> components on a single page. Ext JS versions less than 3 should not be included on
pages that use this component.
See also: <apex:listView>.
Example
<apex:page>
<apex:enhancedList type="Account" height="300" rowsPerPage="10" id="AccountList" />
<apex:enhancedList type="Lead" height="300" rowsPerPage="25"
id="LeadList" customizable="False" />
</apex:page>
Attributes
Attribute Name Attribute Type
Description
Required? API
Access
Version
customizable Boolean
A Boolean value that specifies whether the list can be
customized by the current user. If not specified, the default
value is true. If this attribute is set to false, the current user
will not be able to edit the list definition or change the list
name, filter criteria, columns displayed, column order, or
visibility. However, the current user's personal preferences
can still be set, such as column width or sort order.
14.0
height
Integer
An integer value that specifies the height of the list in pixels. Yes
This value is required.
14.0
id
String
The database ID of the desired list view. When editing a list
view definition, this ID is the 15-character string after 'fcf=' in
the browser's address bar. This value is required if type is not
specified.
14.0
listId
String
The Salesforce object for which views are displayed. This value
is required if type is not specified.
14.0
oncomplete
String
The JavaScript that runs after the page is refreshed in the
browser. Note that refreshing the page automatically calls
this JavaScript, while an inline edit and subsequent save does
not.
14.0
rendered
Boolean
A Boolean value that specifies whether the component is
rendered on the page. If not specified, this value defaults to
true.
14.0
reRender
Object
The ID of one or more components that are redrawn when
the result of an AJAX update request returns to the client. This
value can be a single ID, a comma-separated list of IDs, or a
14.0
412
global