{hero}

inline()

Since: Editor 1.3

Activate inline editing.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

Editor's inline editing mode is designed to allow rapid editing of a single field. The way it operates is to replace the contents of the element given as the one to edit (in the first parameter) with the inline editing form. Any click on the page outside of the node being edited will blur the inline form (the inline form can also be closed using blur(), close() or the escape key).

Inline editing is typically activated using a single or double click on the element to be edited (see the examples below) allowing the end user to very quickly edit a single field. When the data is submitted to the server, the whole form is submitted, not just the field shown.

Inline editing provides most of the standard form options that Editor's main editing forms also offer through the form-options configuration object. The following options have no effect on inline editing:

  • title
  • info