PivotTableExportSettings class [PHP]

Summary

Properties Description
IgnorePaging Enable or disable a pivot export settings' paging.
Methods Description
config Set main config for a pivot's export settings.
changeText Set text replacing for a pivot's export settings.
htmlStyle Set html styles for a pivot's export settings.
htmlProperty Set html properties for a pivot's export settings.

Properties Detail

IgnorePagingTop

bool IgnorePaging

Enable or disable a pivot's export setting paging.

Default value : false

Allowed values :

  • true : Export all data without paging.
  • false : Export only current page.

Demo :


Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

configTop

self config(array $_config)

Set main config for a pivot's export settings.

Allowed $_config's values :

  • array("fileName" => String) : Set the exported file name.
  • array("template" => String."{KoolPivotTable}".String) : Set exported file's template.
  • array("showFilterZone" => boolean) : Enable or disable showing filter zone.
  • array("caseSensitive" => boolean) : Enable or disable case sensitive for changeText method.
  • array("pdf" =>
    array(
    "pageOrientation"=>"L"/"P",
    "pageDimension"=>array(Number,Number),
    "font"=>array(
    "family" => String,
    "style" => "normal"/"bold"/"italic",
    "size" => Number
    ),
    )
    )
    : Set exported PDF file's settings.

Show/Hide Code

Supported from version: 1.0.0.0

changeTextTop

self changeText(array $_replace)

Set text replacing for a pivot's export settings.

Allowed $_replace's values :

  • array(String => String) : Set replaced text.

Show/Hide Code

Supported from version: 1.0.0.0

htmlStyleTop

self htmlStyle(array $_styles)

Set html styles for a pivot's export settings. Applicable for HTML and PDF.

Allowed $_styles's values :

  • array("table" => String) : Set the table's style.
  • array("totalRow" => String) : Set the total rows' style.
  • array("totalColumn" => String) : Set the total columns' style.
  • array("dataCell" => String) : Set the data cells' style.
  • array("emptyDataCell" => String) : Set the empty data cells' style.
  • array("expandedCell" => String) : Set the expanded header cells' style.
  • array("cell" => String) : Set all the cells' style.
  • array("rowHeader" => String) : Set the row headers' style.
  • array("columnHeader" => String) : Set the column headers' style.

Show/Hide Code

Supported from version: 1.0.0.0

htmlPropertyTop

self htmlProperty(array $_properties)

Set html properties for a pivot's export settings. Applicable for HTML, PDF and Word.

Allowed $_properties's values :

  • array("table" => array()) : Set the table's properties.
  • array("totalRow" => array()) : Set the total rows' properties.
  • array("totalColumn" => array()) : Set the total columns' properties.
  • array("dataCell" => array()) : Set the data cells' properties.
  • array("emptyDataCell" => array()) : Set the empty data cells' properties.
  • array("expandedCell" => array()) : Set the expanded header cells' properties.
  • array("cell" => array()) : Set all the cells' properties.
  • array("rowHeader" => array()) : Set the row headers' properties.
  • array("columnHeader" => array()) : Set the column headers' properties.

Show/Hide Code

Supported from version: 1.0.0.0