Live demo

ID headline blog pub date


To target specific columns that should appear on the table, use the datatable_options['columns'] key in the configuration. Specify a tuple or list of model field names, in the order that they are to appear on the table.

Note that fields will attempt to use their verbose_name, if available.

Implementation in code

    class SpecificColumnsDatatableView(DatatableView):
        model = Entry
        datatable_options = {
            'columns': [