-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Possibility to use class Meta when creating custom column #241
Labels
Comments
Nice idea. Are you able to make a patch and open a pull request? |
Sorry, I don't think my knowledge of python and Django is this advanced. |
Now (in master) available like this: class NewColumn(tables.Column):
[...]
attrs = {
'th': {'class': 'some_class'},
'td': {'class': 'some_class'}
} |
This was referenced Nov 27, 2017
This was referenced Dec 11, 2017
This was referenced Jan 22, 2018
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
When creating a custom column, based on tables.Column or another template inherited by this one. It can be nice to have access to class Meta as well for modifying attributes like :
Instead of have to input them always in every new column created.
This is just a suggestion :)
The text was updated successfully, but these errors were encountered: