SP.ViewFieldCollection.moveFieldTo(field, index) Method
Applies to: SharePoint Foundation 2010
Moves the field with the specified field internal name to the specified position in the collection.
SP.ViewFieldCollection.moveFieldTo(field, index);
Parameters
- field
Specifies the field internal name
Type: string
- index
Specifies the position for the field. The first position is 0
Type: int
Applies To
Remarks
It must not be null. Its value must be equal to or greater than 0.
See Also
Reference
SP.ViewFieldCollection Methods