@angular/material/table#MatTableModule TypeScript Examples
The following examples show how to use
@angular/material/table#MatTableModule.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: view.module.ts From yii-debug-frontend with BSD 3-Clause "New" or "Revised" License | 6 votes |
@NgModule({
declarations: [SideNavBarComponent, ConfigurationComponent, ViewLayoutComponent],
imports: [
RouterModule.forChild(routes),
CommonModule,
MatSidenavModule,
MatListModule,
MatTableModule,
NgxJsonViewerModule,
SharedModule,
],
})
export class ViewModule {}
Example #2
Source File: material.module.ts From capture-lite with GNU General Public License v3.0 | 6 votes |
modules = [ MatCheckboxModule, MatButtonModule, MatInputModule, MatAutocompleteModule, MatDatepickerModule, MatFormFieldModule, MatRadioModule, MatSelectModule, MatSliderModule, MatSlideToggleModule, MatMenuModule, MatSidenavModule, MatToolbarModule, MatListModule, MatGridListModule, MatCardModule, MatStepperModule, MatTabsModule, MatExpansionModule, MatButtonToggleModule, MatChipsModule, MatIconModule, MatProgressSpinnerModule, MatProgressBarModule, MatDialogModule, MatTooltipModule, MatSnackBarModule, MatTableModule, MatSortModule, MatPaginatorModule, MatBadgeModule, MatBottomSheetModule, ]
Example #3
Source File: ui-layout.module.ts From geonetwork-ui with GNU General Public License v2.0 | 6 votes |
@NgModule({
imports: [
CommonModule,
MatTableModule,
MatSortModule,
MatIconModule,
TableVirtualScrollModule,
ScrollingModule,
TranslateModule.forChild(),
],
declarations: [
TableComponent,
FigureComponent,
ExpandablePanelComponent,
StickyHeaderComponent,
AnchorLinkDirective,
],
exports: [
TableComponent,
FigureComponent,
ExpandablePanelComponent,
StickyHeaderComponent,
AnchorLinkDirective,
],
})
export class UiLayoutModule {}
Example #4
Source File: tables.module.ts From angular-material-admin with MIT License | 6 votes |
@NgModule({
declarations: [
TablesPageComponent,
MaterialTableComponent,
EmployeeTableComponent
],
imports: [
CommonModule,
TablesRoutingModule,
MatCardModule,
MatIconModule,
MatMenuModule,
MatTableModule,
MatButtonModule,
MatCheckboxModule,
MatToolbarModule,
MatPaginatorModule,
MatFormFieldModule,
SharedModule
],
providers: [
TablesService
]
})
export class TablesModule { }
Example #5
Source File: material.module.ts From mysql_node_angular with MIT License | 6 votes |
myModules = [ MatToolbarModule, MatSidenavModule, MatButtonModule, MatMenuModule, MatListModule, MatIconModule, MatInputModule, MatCardModule, MatTableModule, MatSortModule, MatDialogModule, MatOptionModule, MatSelectModule, ]
Example #6
Source File: app.module.ts From material-reusable-table with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
OrdersComponent,
TableComponent,
DataPropertyGetterPipe,
CustomersComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
MatTableModule,
MatFormFieldModule,
MatInputModule,
MatPaginatorModule,
MatSortModule,
MatIconModule,
MatButtonModule,
MatTabsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #7
Source File: app.module.ts From angular-custom-material-paginator with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
PaginatorDirective,
],
imports: [
BrowserModule,
FormsModule,
AppRoutingModule,
MatFormFieldModule,
MatPaginatorModule,
BrowserAnimationsModule,
HttpClientModule,
MatTableModule
],
providers: [],
bootstrap: [AppComponent],
exports: [PaginatorDirective]
})
export class AppModule { }
Example #8
Source File: app.module.ts From mean-stack-angular-9-realtime-crud with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
SalesComponent,
SalesDetailsComponent,
AddSalesComponent,
EditSalesComponent
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
AppRoutingModule,
BrowserAnimationsModule,
MatInputModule,
MatPaginatorModule,
MatProgressSpinnerModule,
MatSortModule,
MatTableModule,
MatIconModule,
MatButtonModule,
MatCardModule,
MatFormFieldModule,
ChartsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #9
Source File: app.module.ts From angular-9-firebase-chat-example with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
LoginComponent,
RoomlistComponent,
AddroomComponent,
ChatroomComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
FormsModule,
ReactiveFormsModule,
MatInputModule,
MatIconModule,
MatCardModule,
MatFormFieldModule,
MatTableModule,
MatProgressSpinnerModule,
MatSortModule,
MatSnackBarModule,
MatSidenavModule
],
providers: [DatePipe],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #10
Source File: app.module.ts From angular-9-coronavirus-cases-app with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
CasesComponent,
CasesDetailsComponent,
AddCasesComponent,
EditCasesComponent,
CasesStatComponent
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
AppRoutingModule,
BrowserAnimationsModule,
MatInputModule,
MatPaginatorModule,
MatProgressSpinnerModule,
MatSortModule,
MatTableModule,
MatIconModule,
MatButtonModule,
MatCardModule,
MatFormFieldModule,
MatSliderModule,
MatSlideToggleModule,
MatButtonToggleModule,
MatSelectModule,
ChartsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #11
Source File: json-schema-form.module.ts From json-schema-form with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [JsonSchemaFormComponent, EditElementDialogComponent, WidgetDirective],
imports: [
MatCardModule,
FlexLayoutModule,
MatIconModule,
MatTooltipModule,
MatTableModule,
MatTabsModule,
MatFormFieldModule,
MatSelectModule,
MatDatepickerModule,
MatCheckboxModule,
MatAutocompleteModule,
HttpClientModule,
CommonModule,
MatInputModule,
MatNativeDateModule,
MatButtonModule,
MatExpansionModule,
MatMenuModule,
ReactiveFormsModule,
MatDialogModule,
MatChipsModule,
DragDropModule
],
exports: [JsonSchemaFormComponent],
providers: [
// turn off tooltip gestures on mobile: https://github.com/angular/components/issues/4892
{ provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: { touchGestures: 'off' } },
{ provide: EDIT_DIALOG_TOKEN, useValue: EditElementDialogComponent }
]
})
export class JsonSchemaFormModule { }
Example #12
Source File: app.module.ts From boot-angular-pagination-example-app with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
Todo1Component,
Todo2Component
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
HttpClientModule,
MatTableModule,
MatPaginatorModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #13
Source File: user.module.ts From careydevelopmentcrm with MIT License | 6 votes |
@NgModule({
declarations: [
AccountInfoComponent,
ProfileImageComponent,
InboxComponent,
MessageComponent,
NoSanitizePipe,
ComposeEmailComponent,
EmailChoiceComponent,
EmailRedirectComponent
],
imports: [
CommonModule,
FlexLayoutModule,
MatIconModule,
MatInputModule,
MatButtonModule,
MatProgressSpinnerModule,
MatCardModule,
MatSelectModule,
MatListModule,
MatTableModule,
MatSortModule,
MatCheckboxModule,
MatPaginatorModule,
MatStepperModule,
MatRadioModule,
MatExpansionModule,
MatMenuModule,
MatToolbarModule,
MatAutocompleteModule,
ReactiveFormsModule,
QuillModule.forRoot(),
AlertModule,
ImageUploaderModule,
RouterModule.forChild(routes)
]
})
export class UserModule { }
Example #14
Source File: app.module.ts From covid19-people-counter-system with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
MatToolbarModule,
MatTableModule,
HttpClientModule,
ChartsModule,
NgxSpinnerModule
],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #15
Source File: material-module.ts From 6PG-Dashboard with MIT License | 6 votes |
@NgModule({
exports: [
ColorPickerModule,
CdkTableModule,
MatButtonModule,
MatButtonToggleModule,
MatChipsModule,
MatCheckboxModule,
MatInputModule,
MatIconModule,
MatTableModule,
MatPaginatorModule,
MatRippleModule,
MatSortModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSelectModule,
MatSnackBarModule,
MatTooltipModule
]
})
export class MaterialModule {}
Example #16
Source File: accounts.module.ts From careydevelopmentcrm with MIT License | 6 votes |
@NgModule({
declarations: [
AddAccountComponent,
AccountFormComponent,
ViewAccountsComponent,
EditAccountComponent,
ViewAccountComponent,
NoValueDisplayPipe
],
imports: [
CommonModule,
FlexLayoutModule,
DirectivesModule,
MatIconModule,
MatInputModule,
MatButtonModule,
MatProgressSpinnerModule,
MatSelectModule,
MatRadioModule,
MatExpansionModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
MatCardModule,
MatListModule,
MatAutocompleteModule,
ReactiveFormsModule,
AlertModule,
NgxFlagPickerModule,
RouterModule.forChild(routes)
]
})
export class AccountsModule { }
Example #17
Source File: index.module.ts From yii-debug-frontend with BSD 3-Clause "New" or "Revised" License | 6 votes |
@NgModule({
declarations: [ListRequestsComponent, IndexLayoutComponent],
imports: [
RouterModule.forChild(routes),
CommonModule,
MatSidenavModule,
MatTableModule,
MatIconModule,
MatSortModule,
SharedModule,
],
})
export class IndexModule {}
Example #18
Source File: data-table.component.spec.ts From worktez with MIT License | 6 votes |
describe('DataTableComponent', () => {
let component: DataTableComponent;
let fixture: ComponentFixture<DataTableComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ DataTableComponent ],
imports: [
NoopAnimationsModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DataTableComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should compile', () => {
expect(component).toBeTruthy();
});
});
Example #19
Source File: material.module.ts From WiLearning with GNU Affero General Public License v3.0 | 6 votes |
@NgModule({
exports: [
MatSelectModule,
MatAutocompleteModule,
MatCardModule,
MatCheckboxModule,
MatDatepickerModule,
MatDialogModule,
MatGridListModule,
MatIconModule,
MatListModule,
MatMenuModule,
MatProgressBarModule,
MatProgressSpinnerModule,
MatButtonModule,
MatButtonToggleModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSnackBarModule,
MatTabsModule,
MatToolbarModule,
MatTooltipModule,
MatRadioModule,
MatInputModule,
MatRippleModule,
MatDividerModule,
MatExpansionModule,
MatTableModule,
MatPaginatorModule,
MatSortModule,
MatBadgeModule
]
})
export class MaterialComponentsModule {}
Example #20
Source File: tables.module.ts From matx-angular with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
MatInputModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
NgxDatatableModule,
RouterModule.forChild(TablesRoutes)
],
declarations: [MaterialTableComponent]
})
export class TablesModule { }
Example #21
Source File: app.module.ts From nghacks with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
NgMatTableQueryReflectorDirective
],
imports: [
BrowserModule,
BrowserAnimationsModule,
RouterModule.forRoot([]),
MatTableModule,
MatSortModule,
MatPaginatorModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #22
Source File: admin.module.ts From budget-angular with GNU General Public License v3.0 | 6 votes |
@NgModule({
imports: [
CommonModule,
AdminRoutingModule,
MatToolbarModule,
MatTableModule,
MatCardModule,
MatButtonModule,
],
declarations: [AdminComponent],
providers: [AdminService],
})
export class AdminModule {}
Example #23
Source File: rooi-mat-table.module.ts From flingo with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
MatProgressBarModule,
MatTableModule,
MatIconModule,
MatSortModule,
MatFormFieldModule,
MatSelectModule,
MatPaginatorModule,
ReactiveFormsModule,
MatButtonModule,
MatInputModule
],
declarations: [MatTableComponent, MatTableRowDirective, MatTableFilterDirective],
exports: [MatTableComponent],
providers: [MatTableService]
})
export class RooiMatTableModule {}
Example #24
Source File: material.module.ts From bitcoin-s-ts with MIT License | 6 votes |
materialModules = [
MatBottomSheetModule,
MatButtonModule,
MatCheckboxModule,
MatDatepickerModule,
MatDialogModule, // For focus
MatFormFieldModule,
MatIconModule,
MatInputModule,
MatMenuModule,
MatNativeDateModule,
MatOptionModule,
MatProgressSpinnerModule,
MatSelectModule,
MatSidenavModule,
MatSlideToggleModule,
MatSnackBarModule,
MatSortModule,
MatProgressSpinnerModule,
MatRadioModule,
MatTableModule,
MatTooltipModule,
]
Example #25
Source File: shared.module.ts From HeartBeat with MIT License | 6 votes |
materialModules: any[] = [
MatToolbarModule,
MatGridListModule,
MatButtonModule,
MatStepperModule,
MatInputModule,
MatFormFieldModule,
MatSelectModule,
MatSnackBarModule,
MatDatepickerModule,
MatNativeDateModule,
MatTableModule,
MatProgressSpinnerModule,
MatIconModule,
MatCardModule,
MatRadioModule,
MatListModule,
MatCheckboxModule,
MatDialogModule,
MatTooltipModule,
]
Example #26
Source File: shared-material.module.ts From matx-angular with MIT License | 5 votes |
@NgModule({
exports: [
MatCheckboxModule,
MatButtonModule,
MatInputModule,
MatAutocompleteModule,
MatDatepickerModule,
MatFormFieldModule,
MatRadioModule,
MatSelectModule,
MatSliderModule,
MatSlideToggleModule,
MatMenuModule,
MatSidenavModule,
MatToolbarModule,
MatListModule,
MatGridListModule,
MatCardModule,
MatStepperModule,
MatTabsModule,
MatExpansionModule,
MatButtonToggleModule,
MatChipsModule,
MatIconModule,
MatProgressSpinnerModule,
MatProgressBarModule,
MatDialogModule,
MatTooltipModule,
MatSnackBarModule,
MatTableModule,
MatSortModule,
MatPaginatorModule,
MatNativeDateModule,
MatMomentDateModule,
MatTreeModule,
MatRippleModule,
MatBadgeModule,
MatBottomSheetModule,
MatDividerModule
]
})
export class SharedMaterialModule {}
Example #27
Source File: app.module.ts From tuxedo-control-center with GNU General Public License v3.0 | 5 votes |
@NgModule({
declarations: [
AppComponent,
ProfileManagerComponent,
SupportComponent,
ProfileOverviewTileComponent,
ProfileDetailsEditComponent,
InfoComponent,
CpuDashboardComponent,
GlobalSettingsComponent,
ShutdownTimerComponent,
ToolsComponent,
ChangeCryptPasswordComponent,
FanGraphComponent
],
imports: [
BrowserModule,
AppRoutingModule,
NgxElectronModule,
BrowserAnimationsModule,
FormsModule,
HttpClientModule,
ReactiveFormsModule,
MatSidenavModule,
MatToolbarModule,
MatListModule,
MatIconModule,
MatTableModule,
MatFormFieldModule,
MatSelectModule,
MatButtonModule,
MatCardModule,
MatChipsModule,
MatExpansionModule,
MatInputModule,
MatTooltipModule,
MatCheckboxModule,
MatDividerModule,
MatSliderModule,
MatGridListModule,
MatStepperModule,
MatButtonToggleModule,
MatProgressBarModule,
MatProgressSpinnerModule,
MarkdownModule.forRoot(),
OverlayModule,
GaugeModule.forRoot(),
ChartsModule
],
providers: [
DecimalPipe,
ThemeService
],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #28
Source File: shared.module.ts From FlexDemo with MIT License | 5 votes |
@NgModule({
imports: [
CommonModule,
// Navigation
MatMenuModule, MatSidenavModule, MatToolbarModule,
// FormControls
MatAutocompleteModule, MatCheckboxModule, MatDatepickerModule, MatInputModule,
MatFormFieldModule, MatRadioModule, MatSelectModule, MatSliderModule,
MatSlideToggleModule, MatSelectModule,
// Layout
MatCardModule, MatDividerModule, MatExpansionModule, MatGridListModule,
MatListModule, MatStepperModule, MatTabsModule, MatTreeModule,
// Buttons
MatButtonModule, MatButtonToggleModule, MatBadgeModule, MatChipsModule,
MatIconModule, MatProgressSpinnerModule, MatProgressBarModule, MatRippleModule,
// Popups & Modals
MatBottomSheetModule, MatDialogModule, MatSnackBarModule, MatTooltipModule,
// Datatable
MatTableModule, MatSortModule, MatPaginatorModule,
FlexGridModule
],
exports: [
// CommonModule,
// // Navigation
// MatMenuModule, MatSidenavModule, MatToolbarModule,
// // FormControls
// MatAutocompleteModule, MatCheckboxModule, MatDatepickerModule,
MatInputModule,
MatFormFieldModule, // MatRadioModule, MatSelectModule, MatSliderModule,
// MatSlideToggleModule, MatSelectModule,
// // Layout
MatCardModule,
MatDividerModule,
// MatExpansionModule, MatGridListModule,
// MatListModule, MatStepperModule, MatTabsModule, MatTreeModule,
// Buttons
MatButtonModule,
// MatButtonToggleModule,
MatBadgeModule, MatChipsModule,
//
MatIconModule,
MatProgressSpinnerModule,
MatProgressBarModule, MatRippleModule,
// Popups & Modals
// MatBottomSheetModule, MatDialogModule, MatSnackBarModule,
MatTooltipModule,
// Datatable
MatTableModule, MatSortModule, MatPaginatorModule,
FlexGridModule
],
declarations: []
})
export class SharedModule { }
Example #29
Source File: app.module.ts From sdkgen with MIT License | 5 votes |
@NgModule({
declarations: [
AppComponent,
SimpleCallComponent,
TabNavComponent,
TabEditorComponent,
TabHomeComponent,
FilterPipe,
ConsoleComponent,
TypeDetailsComponent,
DialogAboutComponent,
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
MonacoEditorModule,
BrowserAnimationsModule,
NgxJsonViewerModule,
ToastrModule.forRoot(),
AngularSplitModule,
HttpClientModule,
MatButtonModule,
MatChipsModule,
MatDialogModule,
MatIconModule,
MatMenuModule,
MatRippleModule,
MatTableModule,
MatTabsModule,
MatTooltipModule,
],
providers: [
{
provide: MONACO_PATH,
useValue: "assets/vs",
},
],
bootstrap: [AppComponent],
})
export class AppModule {}