Exporting data from a YUI DataTable
Posted
by Bears will eat you
on Stack Overflow
See other posts from Stack Overflow
or by Bears will eat you
Published on 2010-03-18T18:35:14Z
Indexed on
2010/03/19
16:41 UTC
Read the original article
Hit count: 682
What's the easiest/fastest way to grab data out of a YUI DataTable and turn it into a single CSV or TSV string? I basically just want to implement a one-click way to get the entire DataTable (it should preserve the currently-applied sorting) into a form that users can paste into a spreadsheet.
My DataTable can get pretty big - 5000 to 10000 rows, 5 to 10 columns - so efficiency does matter.
© Stack Overflow or respective owner