jQuery table plugin reponsetable (original work)

Last updated: 2019/8/27 10:38:53 AM
Changelog:1. Optimized the table by adding editing functionality. The table updates according to the entered content.
Last updated: 2019-08-19 21:43:45
1. Load the table: reponse.rendertable(tableobj,tableid); // tableobj contains basic table information. tableid is the table ID.
2. Add a row: reponse.addtr(obj,tableid) // obj contains the new row data.
3. Delete a row: reponse.tr(row) // row is the current row object.
4. Edit the current row and update its data: reponse.editsavetr(obj,tableid) // obj is the selected current row object.
5. Move up: reponse.moveuptr(row,tableid) // row is the current row to be moved.
6. Move down: reponse.moveDown(row,tableid)
7. Export to Excel: reponse.JSONToCSVConvertor(JSONData, ShowLabel,titlename); // JSONData is the current table data object, ShowLabel specifies whether to display the header, and titlename is the exported Excel file name.
8. Get all table data: $("#"+tableid).data("tableObj");
9. Reload table data: reponse.reloadtable(data,tableid) // data contains the updated tbody data.