-
Notifications
You must be signed in to change notification settings - Fork 431
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
Boolean columns break rendering #360
Comments
Thanks for reporting, can you also have a look at the generated HTML? |
TD cells only exist for the country column (the only column that is rendered)
Whereabouts in the code should the other columns be getting rendered? |
Hmm, turns out the try-catch I removed in b4045ca was not so redundant. I'll try to add a test to check this and release after that. |
I've just tested putting that try/catch back in and it solves the issue in that example app and also the real application that I discovered the fault in. |
BTW its the StopIteration exception from the next() call that gets trapped |
If you specify a BooleanColumn, that column doesn't render, nor do the columns to the right of the BooleanColumn. The following simple change to the example app demonstrates the issues with the bootstrap table (screenshot here http://imgur.com/a/0QQW4).
This occurs with django 1.9.8 / django-tables2 1.2.4 (and latest from github) / python 2.7.12
The text was updated successfully, but these errors were encountered: