apex:inlineEditSupport

This component provides inline editing support to <apex:outputField> and various container components. In order to support inline editing, this component must also be within an <apex:form> tag.

The <apex:inlineEditSupport> component can only be a descendant of the following tags:

  • <apex:dataList>
  • <apex:dataTable>
  • <apex:form>
  • <apex:outputField>
  • <apex:pageBlock>
  • <apex:pageBlockSection>
  • <apex:pageBlockTable>
  • <apex:repeat>

See also: the inlineEdit attribute of <apex:detail>

Attribute NameAttribute TypeDescriptionRequired?API VersionAccess
changedStyleClassStringThe name of a CSS style class used when the contents of a field have changed. 21.0
disabledBooleanA Boolean value that indicates whether inline editing is enabled or not. If not specified, this value defaults to true. 21.0
eventStringThe name of a standard DOM event, such as ondblclick or onmouseover, that triggers inline editing on a field. 21.0
hideOnEditObjectA comma-separated list of button IDs. These buttons hide when inline editing is activated. 21.0
idStringAn identifier that allows the component to be referenced by other components in the page. 10.0global
renderedBooleanA Boolean value that specifies whether the component is rendered on the page. If not specified, this defaults to true. 21.0
resetFunctionStringThe name of the JavaScript function that is called when values are reset. 21.0
showOnEditObjectA comma-separated list of button IDs. These buttons display when inline editing is activated. 21.0

See Also