ZfTable
ZfTable copied to clipboard
Suggestion to make ZfTable more responsive
Hi,
First of all, thank you for this awesome module!
Today I was trying absolutely to make ZfTable more responsive (hide columns on smaller devices).
I easily managed to add the following on my table configuration:
$this->getHeader('email')->addClass('hidden-xs');
$this->getHeader('email')->getCell()->addAttr('class', 'hidden-xs');
However as there is no getter available for the filters of the columns you cannot fully hide the column.
What would be the best way to get the td object created in the function renderFilters() from ZfTable\Render.php ?
A temporary fix could be to add an id to the td to be able to add some CSS?
Thanks,
Yannick