Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mat-table-ext

fastcode-inc191.0.0-beta.0TypeScript support: included

The mat-table-ext is a powerful material table extension component used to display tabular data with extra features.

mat-table, mat-table-ext, material table extension, angular material, data grid, angular, material data table, angular-material, angular-component

readme

Mat Table Extension

This library was generated with Angular CLI version 14.2.10.

Documentation

Check out the demos and API.

Installation

First, you should install and set up Angular Material. Learn more about the setup.

Install the Extension library:

$ npm i mat-table-ext

Setup

Import the MatTableExtModule into imports array.

import { MatTableExtModule } from 'mat-table-ext';

@NgModule({
  ...
  imports: [MatTableExtModule,...],
  ...
})
export class YourAppModule {
}
After adding the MatTableExtModule to your application, add the path of assets of table to your application.
Add the following to your angular.json file under build and test (if required).
 {
   "assets": [
     {
       "glob": "**/*",
       "input": "./node_modules/mat-table-ext/assets",
       "output": "/assets/"
     }
   ]
 }

Theming

After importing the module, you can pass your application theme to the mat-table-ext library by adding the following content to your theme file. More details about theming..

@use '../node_modules/mat-table-ext/assets/theming' as matext;

@include matext.mat-table-ext-theme($your-theme);

License

MIT