shymonk/django-datatable

Column attrs does not work with ajax

rodolphopivetta opened this issue · 1 comments

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 commented

I can confirm this issue.