First of all, meta options are not inherited in django-tables2. So you may check the workarounds discussed in the issue to see if something fits or you can manuall add a Meta class to your dynamic table. To do that, you can your define_table method like this:
def define_table(roles): attrs = dict((r.name, tables.Column() for r in roles) attrs['Meta'] = type('Meta', (), dict(attrs={"class":"paleblue", "orderable":"True", "width":"100%"}) ) return klass
Oops after more than two years I noticed that there was an error in my code -- I'd forgotten to include the line klass = type('DynamicTable', (ClientsTable,), attrs)
before return klass
above. I'm, adding it now for completeness.