Below is the export function of js:
//export
The function tableExport () {
$jQuery_edit (' # tb_user_edit). TableExport (
{
Type: 'excel',//export excel
The escape: 'false',
IgnoreColumn: [0],//ignore a column of the index
FileName: 'sow archives',//file name set
WorksheetName: 'sheet1,//form the workspace name
TableName: 'sow archives',
Excelstyles: [' background - color ', 'color', 'the font, size,' the font - weight]
}
)
}
$jQuery_edit $(' # btnExport) bind (' click ', function () {
TableExport ();
})
Don't know is what reason, consult everybody warrior!
CodePudding user response:
Back to top!!!!!!