You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you share an example of your javascript? The demo seems to be working fine, aside from not applying a file name or extension.
Anyway, I think I might have found an alternate method that will allow downloading a file with file name & extension without requiring any server-side modification. I am having some trouble with how IE deals with the code, but once I get around that issue, I'll include the change in the next update.
I figured out the solution to my problem. The page I was trying to set this up contained other tables besides the table with the tablesorter class. So in the download function, I just had to specify the table with the tablesorter class as such:
var$table=$('table.tablesorter');// instead of $table = $('table');$('.download').click(function(){vardelivery=$('option[name=delivery]:selected').attr('data-delivery');$table.data('tablesorter').widgetOptions.output_delivery=delivery;$table.trigger('outputTable');});
Hi,
I created this fiddle by combining your columnSelector-widget demo and your output-widget demo.
The fiddle works as expected, but whenever I try to run this in my website it does not work.
Even though I have modified the .htaccess file to include this as you explain in the widget-output demo:
The Get CSV button just reloads the page but it does not open the popup or download the file.
When i click the Get CSV button I get this error:
I think I am missing something on the php side but I am not sure what.
The text was updated successfully, but these errors were encountered: