> Does django-tables provide functionality to dynamically change the
> columns displayed based on user preference?
There currently is no functionality that is specifically geared
towards your scenario, though you can of course change the visibility
of columns at any time. In other words, something like this does not
exist:
countries = CountryTable(qs, visibility=request.GET.get('visibility-
options')
Instead, you need to parse the users preferences yourself and update
the column visibilities:
countries = CountryTable(queryset)
for column_name, state in visibility_options:
countries.columns[column_name].visible = state
Note that due to a bug that I just fixed the above only works since
rev. 42.
Michael