Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add heading #56

Open
angadsule opened this issue Aug 22, 2016 · 2 comments
Open

Add heading #56

angadsule opened this issue Aug 22, 2016 · 2 comments

Comments

@angadsule
Copy link

I need to add heading to the table, as a parameter , currently achieved using
fullTemplate += e.template.mid;
fullTemplate += "Report Heading";

But need ths to be dynamic with html TAGS.

@rainabba
Copy link
Owner

Go for it! Branch, add the feature and submit a PR :)

@dhorions
Copy link

Looks like that can be achieved using following code ( found that here : https://stackoverflow.com/a/38484199/889755 )

.append($(table.table().header()).clone())

$('<table>')
  .append($(table.table().header()).clone())
  .append(table.$('tr').clone())
  .table2excel({
     exclude: "",
     name: "title",
     filename: "name" 
  });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants