{hero}

fields()

Since: Editor 1.2.1

Get a list of the field names configured.
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

This method will return an array with a list of the fields that are currently configured in the Editor instance (through the use of fields, add() and clear()).

Note that the order() method should be used in preference to this method as of Editor 1.3. order() provides the same information, in the display order and also as the ability to reorder the fields.