Sorting

Adding Sorting Table in your project

There following steps to add Sorting Table

  • First of all, you have to edit in app.modulefile ,which is located in your-project-name\src\app folder.

  • Import following files in app.module file

    import { SortingTableComponent}  from './tables/table-sorting/table-sorting.component';
  • Now open app-routing.module.ts file and import this file.

    import { SortingTableComponent }  from './tables/table-sorting/table-sorting.component';

    After this,add following in routes

    { path: 'tables/sorting', component: SortingTableComponent }

Last updated