Colspan changes from colspan="3" to colspan="2" once JS kicks in...
Colspan changes from colspan="3" to colspan="2" once JS kicks in...
buildakicker
Posts: 7Questions: 1Answers: 0
HI, I have a a large table with 2600+ entries. I am using the wonderful header sorting features. I have it setup like so:
[code]
ROAD
MILES
BENEFIT
RISK
RECOMMENDATION
VEG
FIRE
SOCIAL
WATERSHED
WILDLIFE
[/code]
Once the page renders in IE, FF and Chrome it changes to (using Firebug... the view source still looks correct):
[code]
BENEFIT
RISK
[/code]
You can see that VEG is missing...
Any thoughts? Am I missing something?
Link to page with issue: http://www.fs.usda.gov/detailfull/plumas/home/?cid=stelprdb5424381&width=full
[code]
ROAD
MILES
BENEFIT
RISK
RECOMMENDATION
VEG
FIRE
SOCIAL
WATERSHED
WILDLIFE
[/code]
Once the page renders in IE, FF and Chrome it changes to (using Firebug... the view source still looks correct):
[code]
BENEFIT
RISK
[/code]
You can see that VEG is missing...
Any thoughts? Am I missing something?
Link to page with issue: http://www.fs.usda.gov/detailfull/plumas/home/?cid=stelprdb5424381&width=full
This discussion has been closed.
Replies
It "Fire" that is missing when I load the page, but that's because you have:
[/code]
"aoColumnDefs": [
{ "bVisible": false, "aTargets": [3] }
]
[/code]
So the colspan is reduced from 3 to 2 because you've got a hidden column. If you don't want the column hidden, don't hide it ;-)
Regards,
Allan