on hiding column, the whole table shrinks leaving blank space

on hiding column, the whole table shrinks leaving blank space

emelianenkoemelianenko Posts: 18Questions: 0Answers: 0
edited November 2010 in General
Hello


Has anybody encountered this:

When you want to hid a column, you can make this,

[code]

"aoColumnDefs": [
{ "bVisible": false, "aTargets": [ 0 ] }
],
[/code]

but what happens then with the full table, is that the length of the columns adjusts itself to the length of the word in the Heading, thus, reducing the size of the table and not extending to the 100% leaving me a white blank span until the right side. However, the curious thing, is that it happened on one table, I did not have that problem with a similar table with basically the same content.

Anybody knows why would the header length restrict itself to the length of the string in it when hiding a column?

thanks
This discussion has been closed.