User:Hisa/tabletest: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
</style> | </style> | ||
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.js"></script> | <script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.js"></script> | ||
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/fixedcolumns/media/js/FixedColumns.min.js"></script> | |||
<script type="text/javascript" charset="utf-8"> | <script type="text/javascript" charset="utf-8"> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
Line 22: | Line 25: | ||
<html> | <html> | ||
$('#ffcp_tf_enrichscore').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="ffcp_tf_enrichscore_cont"></table>' ); | $('#ffcp_tf_enrichscore').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="ffcp_tf_enrichscore_cont"></table>' ); | ||
$('#ffcp_tf_enrichscore_cont').dataTable( { | var oTable = $('#ffcp_tf_enrichscore_cont').dataTable( { | ||
"bProcessing": true, | "bProcessing": true, | ||
// "sScrollX": "100%", | |||
// "sScrollXInner": "150%", | |||
"sScrollY": "300px", | "sScrollY": "300px", | ||
"bPaginate": false, | "bPaginate": false, | ||
Line 52: | Line 58: | ||
//); | //); | ||
//new FixedColumns( oTable ); | |||
Revision as of 18:18, 16 May 2012