Personal tools

User:Hisa/tabletest: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 6: Line 6:
<script type="text/javascript" charset="utf-8">
<script type="text/javascript" charset="utf-8">


var ffcp_tf_enrichscore=
var ffcp_tf_enrichscore_d=
[
[
</html>
</html>
Line 17: Line 17:


$(document).ready(function() {
$(document).ready(function() {
$('#dynamic').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
$('#ffcp_tf_enrichscore').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="ffcp_tf_enrichscore_cont"></table>' );
$('#example').dataTable( {
$('#ffcp_tf_enrichscore_cont').dataTable( {
"sDom": '<"toolbar">frtip',
"sDom": '<"toolbar">frtip',
         "sScrollY": "300px",
         "sScrollY": "300px",
Line 24: Line 24:
         "bScrollCollapse": true,
         "bScrollCollapse": true,
"iDisplayLength": -1,
"iDisplayLength": -1,
"aaData": ffcp_tf_enrichscore,
"aaData": ffcp_tf_enrichscore_d,
"aoColumns": [
"aoColumns": [
{ "sTitle": "FFCP Phase1","sWidth": "30px",
{ "sTitle": "FFCP Phase1","sWidth": "30px",
Line 90: Line 90:
</script>
</script>


<div id="dynamic" style="float:left;"></div>
<div id="ffcp_tf_enrichscore" style="float:left;"></div>
<div id="top_motiftb" style="float:left;"></div>
<div id="top_motiftb" style="float:left;"></div>
</html>
</html>

Revision as of 15:53, 8 May 2012