MultiLine Table Headers and ColVis
MultiLine Table Headers and ColVis
I have table headers that have
tags in them to save space on column width. The problem is when using ColVis, the select menu does not remove this tag and you can't see half of the column title when you are toggling columns on and off. What would be the best way to fix this?
tags in them to save space on column width. The problem is when using ColVis, the select menu does not remove this tag and you can't see half of the column title when you are toggling columns on and off. What would be the best way to fix this?
This discussion has been closed.
Replies
Allan
[code]
''+oColumn.sTitle+''
[/code]
if you replace that with:
[code]
''+oColumn.sTitle.replace( /<.*?>/g, "" )+''
[/code]
That should do it - although I've not tested it :-)
Something to think about for a future release - a rendering callback!
Allan