setRowSettings

setRowSettings

BASIC / ADVANCED / PREMIUM

Sets row settings.

Description
public setRowSettings($position, $options = array())

This method sets row settings.

Parameters

position

Row position: 1, 2, 4...

options

Key Type Description
height float Row height.
hidden bool Hidden attribute.
Code samples

Example #1

The resulting XLSX looks like:

Release notes
  • phpxlsx 2.0:
    • state option.
  • phpxlsx 1.0:
    • new method.