Hey guys, I've been playing with this cool plugin recently and am having trouble styling the column headers. I'm fairly new at this so please forgive me if I'm missing something obvious. Here's what I've currently got:
http://live.datatables.net/ogowuc/4
This is basically what I'm aiming for, but you'll notice for the headers, there are two sets of the * character. I am trying to put a symbol in there for the sorting icons. In my project I am using Font Awesome, so I'm attempting to go that route instead of an image. Looking at the html in firebug, it seems when I add the sScrollX option, datatables adds a new row of headers with the sorting css classes for some reason. In the code I've made a comment above the three classes that are getting doubled (.sorting, .sorting_asc, .sorting_desc).
If I take the scrolling option out, it looks fine:
http://live.datatables.net/ogowuc/5
But is obviously missing the scrolling functionality. Any suggestions?
http://live.datatables.net/ogowuc/4
This is basically what I'm aiming for, but you'll notice for the headers, there are two sets of the * character. I am trying to put a symbol in there for the sorting icons. In my project I am using Font Awesome, so I'm attempting to go that route instead of an image. Looking at the html in firebug, it seems when I add the sScrollX option, datatables adds a new row of headers with the sorting css classes for some reason. In the code I've made a comment above the three classes that are getting doubled (.sorting, .sorting_asc, .sorting_desc).
If I take the scrolling option out, it looks fine:
http://live.datatables.net/ogowuc/5
But is obviously missing the scrolling functionality. Any suggestions?