共用方式為


SP.Field.hidden Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether the field is hidden in list views and list forms.

var value = SP.Field.get_hidden(); 
SP.Field.set_hidden(value);

Property Value

Type: Boolean

Applies To

SP.Field Class

Exceptions

  • SPException
    Value is changed to true on a field which cannot be hidden. Error code: -2146232832.

See Also

Reference

SP.Field Methods

SP.Field Properties

SP Namespace