Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable::beforeGenericFiltersAreAppliedToLoadedDataTable PHP Method

beforeGenericFiltersAreAppliedToLoadedDataTable() public method

    public function beforeGenericFiltersAreAppliedToLoadedDataTable()
    {
        if ($this->isPivoted()) {
            $this->config->columns_to_display = $this->dataTable->getColumns();
            $this->dataTable->applyQueuedFilters();
        }
        parent::beforeGenericFiltersAreAppliedToLoadedDataTable();
    }

Usage Example

Example #1
0
 public function beforeGenericFiltersAreAppliedToLoadedDataTable()
 {
     $this->config->columns_to_display = $this->dataTable->getColumns();
     $this->dataTable->applyQueuedFilters();
     parent::beforeGenericFiltersAreAppliedToLoadedDataTable();
 }