DatasheetElement.saveColumnOrder (Method)

Sets the order in which CommonSpot displays columns in a datasheet's view.

Returns:

Void

Arguments:

Name Type Required Description
pageID RealPageID_NonBaseTemplate Required A page's ID.
elementID ControlID Required The datasheet element's control ID.
viewName PlainText_NonNull Required The name of the view for which CommonSpot saves information.
data ArrayOfPlainText_NonNull_Strings Required An array of the datasheet's column names, in the order in which CommonSpot should display them.

Context:

License Requirements Datasheet
Permission Requirements element:Author
Deny Context None
Require Context AuthoringEnabled
Author Lock Required
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None