Skip to content

Suggestion to make ZfTable more responsive #93

@yannickvid

Description

@yannickvid

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions