How to copy paste data from excel to datatables
How to copy paste data from excel to datatables
Hi All,
Can you help paste data on datatable?
oTable = $("#tbl_summary").dataTable({
"aaData": data,
"bFilter": false,
"sScrollY": "300px",
"sScrollX": "100%",
"sScrollXInner": size,
"bScrollCollapse": true,
"bPaginate": false,
});
DataTable will auto to draw the table depend on data before, but now, i want customize it, ex: I want add a column on table.
I don't do it.
Thanks for any help.
An.
Can you help paste data on datatable?
oTable = $("#tbl_summary").dataTable({
"aaData": data,
"bFilter": false,
"sScrollY": "300px",
"sScrollX": "100%",
"sScrollXInner": size,
"bScrollCollapse": true,
"bPaginate": false,
});
DataTable will auto to draw the table depend on data before, but now, i want customize it, ex: I want add a column on table.
I don't do it.
Thanks for any help.
An.
This discussion has been closed.
Replies
Allan
Thanks for your response,
I will reference your suggest.
An.
Thanks for your great plugin!
On the question of Excel-like copy pasting, have a look at the following SlickGrid plugin. Would it be possible to do something similar with DataTables based on their code? Thanks.
http://labs.nereo.com/slick.html (demo and explanation)
https://github.com/Celebio/SlickGrid/blob/master/plugins/slick.cellexternalcopymanager.js.suggestion
https://github.com/Celebio/SlickGrid/blob/master/plugins/slick.cellexternalcopymanager.js
Allan