基于jQuery制作的reponsetable表格插件,表格编辑操作功能,支持在手机端将表格排列成块状模式。
说明:
1.加载表格 reponse.rendertable(tableobj,tableid); //tableobj为表格基本信息。tableid为table的id
2.新增一行 reponse.addtr(obj,tableid) //obj为新增的数据。
3.删除一行 reponse.tr(row) //row为当前行对象。
4.编辑当前行更新当前行数据 reponse.editsavetr(obj,tableid) //obj为选中当前行对象
5.上移 reponse.moveuptr(row,tableid) //row 为需要移动的当前行
6.下移 reponse.moveDown(row,tableid)
7.导出Excel reponse.JSONToCSVConvertor(JSONData, ShowLabel,titlename); //JSONData为当前table数据对象,ShowLabel是否显示表头,titlename导出excel文件名。
8.获取整个table数据 $("#"+tableid).data("tableObj");
9.重载表格数据 reponse.reloadtable(data,tableid) //data需要更改tbody数据。
2.新增一行 reponse.addtr(obj,tableid) //obj为新增的数据。
3.删除一行 reponse.tr(row) //row为当前行对象。
4.编辑当前行更新当前行数据 reponse.editsavetr(obj,tableid) //obj为选中当前行对象
5.上移 reponse.moveuptr(row,tableid) //row 为需要移动的当前行
6.下移 reponse.moveDown(row,tableid)
7.导出Excel reponse.JSONToCSVConvertor(JSONData, ShowLabel,titlename); //JSONData为当前table数据对象,ShowLabel是否显示表头,titlename导出excel文件名。
8.获取整个table数据 $("#"+tableid).data("tableObj");
9.重载表格数据 reponse.reloadtable(data,tableid) //data需要更改tbody数据。
系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791