The angular-datatables provides the helper DTOptionsBuilder that lets you build the datatables options.
It also provides the helper DTColumnBuilder that lets you build the column and column defs options.
See the API for the complete list of methods of the helpers.
Note:
-
When rendering a static table, you CANNOT use the
dt-columndirective. Indeed, the module will render the datatable after the promise is resolved. So for DataTables, it's like rendering a static table. If you need to provide some options to your columnn, your must provide thedt-column-defsdirective (which corresponds to the DataTables columnDefs).