source:
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Content/jQuery/jQueryPlugins/DataTables-1.7.6/media/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
@
6286
Last change on this file since 6286 was 6286, checked in by dkahn, 13 years ago | |
---|---|
File size: 405 bytes |
Rev | Line | |
---|---|---|
[6286] | 1 | // DATA_TEMPLATE: dom_data |
2 | oTest.fnStart( "2840 - Restore table width on fnDestory" ); | |
3 | ||
4 | $(document).ready( function () { | |
5 | document.cookie = ""; | |
6 | $('#example').dataTable( { | |
7 | "sScrollX": "100%", | |
8 | "sScrollXInner": "110%" | |
9 | } ); | |
10 | $('#example').dataTable().fnDestroy(); | |
11 | ||
12 | oTest.fnTest( | |
13 | "Width after destroy", | |
14 | null, | |
15 | function () { return $('#example').width() == "800"; } | |
16 | ); | |
17 | ||
18 | oTest.fnComplete(); | |
19 | } ); |
Note: See TracBrowser
for help on using the repository browser.