ryansuitposungkono / openjs-grid

Automatically exported from code.google.com/p/openjs-grid
0 stars 0 forks source link

Export to excel/csv #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi,
how can i implement export to excel feature please?
what variable will be able to provide me with the info (not page broken) that 
is currently searched for?
i guess an extra php script to convert to excel/csv need to be called as well...

so the scenario:
not editable grid is to display search results.
user then has an option to export to excel/csv all results that been found.

please?

Original issue reported on code.google.com by ginger....@gmail.com on 18 Nov 2011 at 2:13

GoogleCodeExporter commented 9 years ago
i've implemented it by returning final sql query (without limit):
loadComplete: function() {
                    sql = $(this).data().sql;
}

then i used PHPExcel plug in to export it by pressing a button

Original comment by ginger...@gmail.com on 14 Mar 2012 at 3:05