![]() | ![]() |
KoolPivotTable - Powerful PHP Pivot TableFullVersion 3.9.0.0 released on 05/19/2017
Features - KoolPivotTable Filters
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"
$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"
![]() | ![]() |
