parent
0d2a5a1148
commit
f2d56ef374
|
@ -1,5 +1,5 @@
|
||||||
.divider {
|
.divider {
|
||||||
margin: 20px 0;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
|
17
demo/demo.js
17
demo/demo.js
|
@ -1,20 +1,11 @@
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('.myTable01').fixedHeaderTable({ width: '600', height: '250', footer: true, cloneHeadToFoot: true, altClass: 'odd', themeClass: 'fancyTable', autoShow: false });
|
$('.myTable01').fixedHeaderTable({ height: '250', footer: true, cloneHeadToFoot: true, altClass: 'odd', themeClass: 'fancyTable', autoShow: false });
|
||||||
|
|
||||||
$('.myTable01').fixedHeaderTable('show', 1000);
|
$('.myTable01').fixedHeaderTable('show', 1000);
|
||||||
|
|
||||||
$('.myTable02').fixedHeaderTable({ width: '600', height: '250', footer: true, altClass: 'odd', themeClass: 'fancyDarkTable' });
|
$('.myTable02').fixedHeaderTable({ height: '250', footer: true, altClass: 'odd', themeClass: 'fancyTable' });
|
||||||
|
|
||||||
$('.myTable03').fixedHeaderTable({ width: '400', height: '400', altClass: 'odd', footer: true, fixedColumn: true, themeClass: 'fancyTable' });
|
$('.myTable03').fixedHeaderTable({ height: '400', altClass: 'odd', footer: true, fixedColumn: true, themeClass: 'fancyTable' });
|
||||||
|
|
||||||
$('a.makeTable').bind('click', function() {
|
$('.myTable04').fixedHeaderTable({ height: '400', altClass: 'odd', footer: true, cloneHeadToFoot: true, fixedColumn: true, themeClass: 'fancyTable' });
|
||||||
|
|
||||||
|
|
||||||
$('.myTable01').fixedHeaderTable('destroy');
|
|
||||||
|
|
||||||
$('.myTable01 th, .myTable01 td')
|
|
||||||
.css('border', $('#border').val() + 'px solid ' + $('#color').val());
|
|
||||||
|
|
||||||
$('.myTable01').fixedHeaderTable({ width: $('#width').val(), height: $('#height').val(), footer: true, themeClass: 'fancyTable' });
|
|
||||||
});
|
|
||||||
});
|
});
|
1583
demo/test.html
1583
demo/test.html
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue