Jump to content

exportar dados para excel


dianaemanuel
 Share

Recommended Posts

Bons dias,

Eu gostaria de saber qual o código que tenho que fazer para exportar para excel uns dados que tenho numa tabela.

Já fiz o seguinte código:

window.open('data:application/vnd.ms-excel,' + encodeURIComponent(tablecopy));

Mas este código não funciona no IE.

Ainda tenho outro problema é que esta tabela tem paginação e não me está a apanhar os dados que não estou a visualizar.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.