QQ客服
当前位置 : 首页 > 代码 > 网页特效 > 其它特效 > 基于bootstrap表格导出excel插件

基于bootstrap表格导出excel插件

tableexport.js表格excel插件,默认设置表格数据,支持表格文字内容和表头项目搜索,一键导出表格excel文件操作功能。(不兼容IE6,7,8,9)
分享到微信朋友圈
X

使用方法:

表格内容修改,根据需求自行删减

{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"}
],
[声明]本站素材来自用户分享,仅限学习交流请勿用于商业用途。如损害你的权益请联系客服QQ:2447402004给予处理。
举报×
举报原因:

相关代码

二维码
意见反馈
×
×

注册

QQ注册 立即下载 新浪注册 立即下载

签到成功!

已连续签到1天,签到3天将获得积分VIP1天

知道了