Since: Editor 1.2.2

Get / set the ordering of fields, as they are displayed in the form.
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.


This method provides the ability to determine what fields are configured in the form, and also the ability to reorder the way in which the fields are displayed.

Note that all fields must be included when reordering, and no additional fields can be added here (use add() to add more fields and clear() to remove a field). If an incorrect number of fields is given, or if a field that doesn't exist is given, Editor will throw an error.