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

Output widget : issue with colspan #619

Closed
Tedd22 opened this issue May 20, 2014 · 5 comments
Closed

Output widget : issue with colspan #619

Tedd22 opened this issue May 20, 2014 · 5 comments

Comments

@Tedd22
Copy link

Tedd22 commented May 20, 2014

When I export a table with export widget, cells with colspan attribute are not correctly interpreted. The content is reproduced in multiple cells instead of appearing only once followed by blank cells.

Thanks in advance !

@TheSin-
Copy link
Collaborator

TheSin- commented May 20, 2014

I do not think this is incorrect, I believe this is by design. I know I like that it does that personally at least in thead. In tbody I could see this being an issue, maybe thead and tbody could be setup differently?

@Mottie
Copy link
Owner

Mottie commented May 20, 2014

Hi @Tedd22!

I could add an option to not include repeated span content (rowspan and colspan).

In my initial testing, I would need to add a space instead of an empty string otherwise it messes up the results. I'd have to spend more time with the code to figure out why I can't add an empty string.

@TheSin-
Copy link
Collaborator

TheSin- commented May 22, 2014

since no comment was made her dis the option in writing..

output_duplicateSpans: true, // duplicate output data in tbody colspan/rowspan

@Mottie
Copy link
Owner

Mottie commented May 22, 2014

The output docs were updated :p

Now I just need to add the other docs I missed LOL.

@TheSin-
Copy link
Collaborator

TheSin- commented May 22, 2014

yup just normally you comment in the ticket and I write it down for myself ;) I had to read the code the commit this time so thought I'd help out and share ;)

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