• Version 12.0.0
  • Published
  • 81.5 kB
  • 1 dependency
  • MIT license


npm i angular-datatables
yarn add angular-datatables
pnpm add angular-datatables


Angular directive for DataTables



class DataTableDirective

class DataTableDirective implements OnDestroy, OnInit {}


    constructor(el: any, vcr: any, renderer: any);

      property dtInstance

      dtInstance: Promise<any>;
      • The DataTable instance built by the jQuery library [DataTables](

        It's possible to execute the [DataTables APIs]( with this variable.

      property dtOptions

      dtOptions: ADTSettings;
      • The DataTable option you pass to configure your table.

      property dtTrigger

      dtTrigger: any;
      • This trigger is used if one wants to trigger manually the DT rendering Useful when rendering angular rendered DOM

      method ngOnDestroy

      ngOnDestroy: () => void;

        method ngOnInit

        ngOnInit: () => void;

          class DataTablesModule

          class DataTablesModule {}

            method forRoot

            static forRoot: () => any;

              Package Files (3)

              Dependencies (1)

              Dev Dependencies (33)

              Peer Dependencies (0)

              No peer dependencies.


              To add a badge like this badgeto your package's README, use the codes available below.

              You may also use to create a custom badge linking to

              • Markdown
              • HTML
                <a href=""><img src="" alt=""></a>