SP.ViewFieldCollection.item property (sp.js)

Gets the field name at the specified index of the collection.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.ViewFieldCollection.get_item ()

Parameters

  • index
    Type: int

    The zero-based index of the field name in the collection.

Return value

Type: String

The field name at the specified index of the collection.