Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: The width of the table is now not fixed to the width of the co…
…ntainer when scrolling is not applied (this is the same behaviour as 1.6-) - 2530
- Loading branch information
Allan Jardine
committed
Aug 21, 2010
1 parent
05995bd
commit 505bfce
Showing
3 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// DATA_TEMPLATE: dom_data | ||
oTest.fnStart( "User given with is left when no scrolling" ); | ||
|
||
$(document).ready( function () { | ||
$('#example')[0].style.width = "80%"; | ||
$('#example').dataTable(); | ||
|
||
oTest.fnTest( | ||
"Check user width is left", | ||
null, | ||
function () { return $('#example').width() == 640; } | ||
); | ||
|
||
oTest.fnComplete(); | ||
} ); |