API Docs for:
Show:

Y.DataTable.EditorOptions.inline Class

Inline Cell Editor "inline"

This View configuration is used to setup an editor referenced as "inline" as a simple inline-type cell editor.

Basic Usage:
      // Column definition
      { key:'surName', editor:"inline" }
Standard Configuration

This inline editor creates a simple INPUT[type=text] control and positions it to match the underlying TD node. It uses the default settings from the BaseViewClass's attributes.

The configuration {Object} for this cell editor View is predefined as;

     Y.DataTable.EditorOptions.inline = {
         BaseViewClass:  Y.DataTable.BaseCellInlineEditor,
         name:           'inline'
     };

PLEASE NOTE: All other attributes from the BaseViewClass apply and can be included within the editorConfig object.

Item Index