tableexport.js表格excel插件,默认设置表格数据,支持表格文字内容和表头项目搜索,一键导出表格excel文件操作功能。(不兼容IE6,7,8,9)
使用方法:
表格内容修改,根据需求自行删减
{field:"user_email",title:"email",align:"center",valign:"middle",sortable:"true"},
{field:"user_company",title:"company",align:"center",valign:"middle",sortable:"true"},
{field:"user_dates",title:"date",align:"center",valign:"middle",sortable:"true"},
{field:"user_lastlogintime",title:"lastlogintime",align:"center",valign:"middle",sortable:"true"},
{field:"user_version",title:"version",align:"center",valign:"middle",sortable:"true"},
{field:"user_isv2",title:"isv2",align:"center",valign:"middle",sortable:"true"},
{field:"userstatus_usertype",title:"usertype",align:"center",valign:"middle",sortable:"true"},
{field:"userstatus_package_id",title:"package_id",align:"center",valign:"middle",sortable:"true"},
{field:"userstatus_end_time",title:"end_time",align:"center",valign:"middle",sortable:"true"}
],
data : [
{"user_email":"20dai.rikon@gmail.com","user_company":"abc","user_dates":"2014-10-13 13:35:51","user_lastlogintime":"0","user_version":"0","user_isv2":"0","userstatus_usertype":"0","userstatus_package_id":"100014","userstatus_end_time":"人间"},
{"user_email":"20140416@xxxxddffg.com","user_company":"我是中文","user_dates":"2014-10-13 13:35:51","user_lastlogintime":"0","user_version":"1","user_isv2":"0","userstatus_usertype":"0","userstatus_package_id":"100001","userstatus_end_time":"NULL"},
{"user_email":"20083matsumoto-hs@polus.co.jp","user_company":"ABC","user_dates":"2014-10-31 13:02:47","user_lastlogintime":"1414726074","user_version":"0","user_isv2":"1","userstatus_usertype":"0","userstatus_package_id":"100014","userstatus_end_time":"0"},
{"user_email":"20.2.n0.5@gmail.com","user_company":"我支持ie下载哦","user_dates":"2014-11-21 11:00:10","user_lastlogintime":"1416564204","user_version":"0","user_isv2":"0","userstatus_usertype":"0","userstatus_package_id":"100014","userstatus_end_time":"0"}
],