KoolPivotTable - Powerful PHP Pivot TableKoolPivotTable - Powerful PHP Pivot TableFullVersion released on 25/11/2016

Features - KoolPivotTable Filters

Drag the filter field here.
Dollar Sales
Product LineProduct
Classic CarsMotorcyclesPlanesShipsTrainsTrucks and BusesVintage CarsGrand Total
Euro+ Shopping Channel
Mini Gifts Distributors Ltd.
Muscle Machine Inc
Vida Sport, Ltd
Down Under Souveniers, Inc
Grand Total
Page 1 in 1, items 1 to 5 of 5.

Description & Sample code

In order to pre-set data sorting, you use this command:

$pivot->SetInitSortedGroup("Classic Cars"); // where "Classic Cars" is the name of the header by which you want to sort

In order to manually add a top N, top percent, bottom N or bottom percent filter, you use this command:

$field->AddFilter(array("top_N", "5")); //New filters: "top_N", "bottom_N", "top_percent", "bottom_percent"