1👍
✅
BaseDatatableView
implements DatatableMixin
which has a method get_columns
with a default implementation of
def get_columns(self):
""" Returns the list of columns that are returned in the result set
"""
return self.columns
You can override it and pass your custom columns here (using your parameter)
Source:stackexchange.com