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

Column attrs does not work with ajax #45

Open
rodolphopivetta opened this issue Mar 13, 2016 · 1 comment
Open

Column attrs does not work with ajax #45

rodolphopivetta opened this issue Mar 13, 2016 · 1 comment

Comments

@rodolphopivetta
Copy link

I'm trying to use attrs like this:

class MyTable(Table):
    field1 = Column(field='field1', header='field 1', attrs={'class': 'danger'})

    class Meta:
        model = MyModel
        ajax = True

and the attrs field is not added, but if I comment ajax = True in class Meta, it works.

@fgau
Copy link
Contributor

fgau commented Jan 30, 2017

I can confirm this issue.

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

2 participants