Ascending / Descending glyphs bug fix always show
-
Thanks for the great plugin. I have it set for a sortable table.
UI Change:
I wanted the up/down glyph to always appear, not just when hovering.
Answer: Add the following to the bottom of the easy-table/css/easy-table.css file. (Can be done via the Plugins editor from the dashboard.)table.tablesorter thead tr .easy-table-header { background-image: url("../images/bg.gif"); }
BUG FIX:
When a table is sorted by a column, either the up or down glyph should be shown. But the supplied css has bugs in it since the plugin’s ascending descending classes appear to have been changed.Fix (in the same css file as above):
table.tablesorter thead tr .tablesorter-headerAsc, table.tablesorter thead tr .tablesorter-headerDesc:hover { background-image: url("../images/asc.gif"); } table.tablesorter thead tr .tablesorter-headerDesc, table.tablesorter thead tr .tablesorter-headerAsc:hover { background-image: url("../images/desc.gif"); }
- The topic ‘Ascending / Descending glyphs bug fix always show’ is closed to new replies.