Ability to paste data in the table much like Excel

Ability to paste data in the table much like Excel

axl163axl163 Posts: 2Questions: 0Answers: 0
edited April 2011 in General
Hi,

I love your work with DataTables and I was wondering if there is a way to paste data into a table much like Excel. I have searched on the web for a while now and I have not been able to find anything. I searched through your site for this type of question but I was not able to find anything so I apologize ahead of time if this is a duplicate query.

Thanks,

Allen

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    Hi Allen,

    This is not currently possible with DataTables. I'm sure that it can be made to work, but there isn't any code (that I'm aware of) which would allow this to work at the moment. The way I think it would need to work is to have a text field which gets pasted into and then have Javascript which will scan that for new data and use the DataTables API methods to add it to the table :-)

    Allan
  • axl163axl163 Posts: 2Questions: 0Answers: 0
    That makes sense. Thanks for the general direction! =)

    Allen
This discussion has been closed.