Change filter to display:none on columns with filter:false #7

Closed
bignall opened this Issue Nov 8, 2011 · 2 comments

Comments

Projects
None yet
2 participants

bignall commented Nov 8, 2011

Could you change the style on the columns with filter: false to display:none instead of visibility:none. That way it doesn't make the column's wider than they need to be.

Basically: line 110

            fr += ((c.headers[i] && 'filter' in c.headers[i] && c.headers[i].filter === false) || $(c.headerList[i]).is('.filter-false') ) ? 'display:none' : '';
Owner

Mottie commented Nov 8, 2011

The reason I made it visibility:hidden is because originally I added the filter into the same header cell as the text, so the vertical placement of the header text and the input would be off.

So, yeah no problem, I'll change this in the next update.

Owner

Mottie commented Nov 8, 2011

Done :)

@Mottie Mottie closed this Nov 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment