Skip to main content

Posts

Showing posts with the label angular-6-datatable

Angular 6 sortByChange sortOrderChange | angular-6-datatable

Actually, sortByChange and sortOrderChange is the outputs directives of angular-6-datatable and we can use these parameters for custom sorting (sort by parameter and sort order parameter). In the blog example, I’m using the default short – mfDefaultSorter. Blog link - https://www.code-sample.com/2018/07/angular-6-datatable-sorting-and.html

Angular-6-datatable [Pagination, Sort, Sorting, Table in Angular]

The “ angular-6-datatable ” will provide the table component with sorting and pagination for Angular 6. If you want to use the datatable in Angular 6 applications, try the following steps. 1.             Install to  Angular-6-datatable  using command “ npm i angular-6-datatable –save ” 2.             Import the data table module “ DataTableModule ” in your app module 3.             Prepare your collection list which you want to display on table in your angular application 4.             You must use this bootstrap CSS  file in your component file for display buttons and so in data-table UI. 5.             Used the data table properties [ mfData ], # mf ,  mfDefaultSorter  , [...