Skip to content

Instantly share code, notes, and snippets.

View popovserhii's full-sized avatar

Serhii Popov popovserhii

View GitHub Profile
@popovserhii
popovserhii / GridApplyOnlyFilters.php
Last active July 10, 2024 21:20
Apply filters to DataSource of Datagrid
<?php
use ZfcDatagrid\Library\FilterHelper;
use Popov\DatagridBundle\Renderer\Json\Renderer;
$this->abstractFactory->setDataSource(...func_get_args());
$filterColumn = $this->abstractFactory->getFilterColumn();
$retriever = $this->abstractFactory->getRetriever();