dudapiotr / ZfTable

*Not supported*ZfTable 3.1. Awesome ZF2 table / grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0.
http://dudapiotrek.laohost.net/
MIT License
75 stars 59 forks source link

Headers width messed up by filters #81

Open cbichis opened 8 years ago

cbichis commented 8 years ago

Hi,

If for a header we set the width and there is no filter (either text or select) the column size is adjusting according to specified width.

However, for headers with a text or select filter set the column size is affected by the fact only Header name th has the width set accordingly, not the filter td and/or input/select itself...

So if we have a width set this should be somehow set to filter td and/or input/select also...

W33k3nd commented 8 years ago

I solved this with a css definition.

.dataTable .filter{ width: 100%; }

cbichis commented 8 years ago

Seems to be fine, easy fix... Thanks!