Table setting a fixed width when using bServerSide=true
Table setting a fixed width when using bServerSide=true

For some reason, after parsing the table data, the html table gets autostyled with (see style):
[code][/code]
The width always depends on the window size. Strange thing is that it only happens when the data comes from an external resource:
[code]
{
"bServerSide": true,
"sAjaxSource": "data.json"
}
[/code]
Also, I'm using jquery.datatables.js and datatables.bootstrap.js.
[code][/code]
The width always depends on the window size. Strange thing is that it only happens when the data comes from an external resource:
[code]
{
"bServerSide": true,
"sAjaxSource": "data.json"
}
[/code]
Also, I'm using jquery.datatables.js and datatables.bootstrap.js.
This discussion has been closed.
Replies
[code]"bAutoWidth": false[/code]