JSON API - moveElement

moveElement

PREMIUM TRIAL / ADVANCED

Moves elements in the spreadsheet.

Note

You are reading the JSON API documentation. For the PHP API method please go to moveElement.

JSON data
Key Description
type
  • sheet
contains Contains a text string. Sheet type.
occurrence
  • (number) exact occurrence from 1
  • (array) occurrences
  • (string) range of contents (e.g.: 2..9, 2.., ..9), first(), last()
attributes Contains a specific attribute key and value.
customQuery Custom XPath query, overwrites any other reference.
location
  • after (default)
  • before
Code samples

Example #1

A template can be a local file, a Base64 string, or a remote file.

Release notes
  • phpxlsx 6.0:
    • new action.