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

Restore elements that are hidden during fnPrint to previous display value, not "block". #21

Open
zachlowry opened this issue Mar 22, 2013 · 2 comments

Comments

@zachlowry
Copy link

Elements that are hidden during the print function should be restored to their previous display value. Currently they are set to "block". I've included a patch below.

https://gist.github.com/zachlowry/5220953

@DataTables
Copy link
Collaborator

Sounds like a good idea. But anFeature[cFeature][i].style.display isn't always going to be set is it? Only if the display property has been calculated previously. Does it not need to be $(anFeature[cFeature][i]).css('display')? I was a little concerned before about speed if there were a lot of elements on the page, but it is probably acceptable now.

@zachlowry
Copy link
Author

That seems to work for me.

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

No branches or pull requests

1 participant