Skip to main content

Posts

Showing posts with the label angular 7 datatables

Angular 7 datatables Example (DataTable UI Component)

Installation: To use angular-datatables , we must need to have Node 8.9 or higher and NPM 6 or higher installed . We recommend using angular-cli version 7.Y.Z to create and manage your angular project . NPM: We need to install its dependencies before getting the latest release using NPM: 1.       npm install jquery --save 2.       npm install datatables.net --save 3.       npm install datatables.net-dt --save 4.       npm install angular-datatables --save 5.       npm install @types/jquery --save-dev 6.       npm install @types/datatables.net --save-dev Setup angular.json : Add the dependencies in the scripts and styles data-table attributes: {   "$schema" : "./node_modules/@angular/cli/lib/config/schema.json" ,   "version" : 1 ,   "newProjectRoot" : "projects" ,   "proje...