$("#mydatatables").dataTable().fnClearTable();
$('#mydatatables').dataTable().fnDestroy()
$('#mydatatables').empty();
var tr='<thead>'
+'<tr style="font-size: 16px !important">'
+'<th id="sx" rowspan ="2" style="text-align:center">县</th>'
+'<th rowspan ="1" colspan="3" style="text-align:center">下达资金</th>'
+'<th rowspan ="2" style="text-align:center;width:10%;">支出资金</th>'
+'<th rowspan ="2" style="text-align:center;width:10%;">剩余资金</th>'
+'<th rowspan ="2" colspan="1" style="text-align:center;width:10%;" title="支出资金/下达资金">执行进度(%)</th>'
+'<th rowspan ="2" colspan="1" style="text-align:center;width:10%;" title="支出资金/下达资金">序时进度(%)</th>'
+'<th rowspan ="2" style="display: none"></th>'
+'</tr>'
+'<tr style="font-size: 16px !important">'
+'<th rowspan ="1" style="text-align:center">合计</th> '
+'<th rowspan ="1" style="text-align:center" title="本地区下达的中央资金">中央</th>'
+'<th rowspan ="1" style="text-align:center" title="本地区下达的省级资金">省级</th>'
+'</tr>';
$('#mydatatables').append(tr);
|