ngx-datatables-net Modern Angular wrapper for DataTables.net

Pagination

Switch pagingType, pageLength and lengthMenu. Reassigning the dtOptions reference recreates the table with the chosen pagination control.

IDNamePositionOfficeAgeStart dateSalaryStatus
type = signal<PagingType>('full_numbers');
length = signal(10);

// computed → new reference recreates the table with new chrome
options = computed<Config>(() => ({
  pagingType: this.type(),
  pageLength: this.length(),
  lengthMenu: [5, 10, 25, 50],
}));