Controls Display Problem
Controls Display Problem
davidmyers
Posts: 5Questions: 0Answers: 0
At http://www.ifrcd.org/localcircuit/ticket.php?option=view&type=current I'm having issues with the ways the that the table controls are displaying. I'm currently using the default sDom initialization and for some reason the controls are all stacking on top of each other instead of displaying in-line.
Also, the table control div has a fixed width that doesn't match the width of the table.
I just started using DataTables and ThemeRoller a couple of hours ago so I'm sure there are simple fixes for this, but I'm on a tight schedule and I've already spent quite a bit of time trying to figure this out. Thanks in advance for any help.
Also, the table control div has a fixed width that doesn't match the width of the table.
I just started using DataTables and ThemeRoller a couple of hours ago so I'm sure there are simple fixes for this, but I'm on a tight schedule and I've already spent quite a bit of time trying to figure this out. Thanks in advance for any help.
This discussion has been closed.
Replies
However, I'm still having the problem with the sDom table controls display. I've also noticed that the arrow icons on the table headers are having the same issue; that is, they are displaying on a new line as opposed to in-line as they are supposed to.
I'd really appreciate any ideas or help with this.
I ran into the same problem, and I believe this was caused by not including all the css styles provided. I notice that on your webpage, you don't have the demo_table.css file included, or anything from it. You will need certain things that do 'float: right' and other style modifications from that file. (it also has the table width set in there, which is where that problem stems from)
Hope this helps.
The only caveat being that the sort arrow icons are still not displaying in-line. But that's something that I can live with atm.
[code].ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }[/code]
in my jquery-ui-1.8.7.custom.css file to this:
[code].ui-icon { display: inline-block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }[/code]