working with material tables
This commit is contained in:
parent
7bb80f7701
commit
218b1fe9c1
|
@ -11,7 +11,7 @@ import LoginComponent from './login/login.component';
|
||||||
|
|
||||||
import { UserRouteAccessService } from 'app/core/auth/user-route-access.service';
|
import { UserRouteAccessService } from 'app/core/auth/user-route-access.service';
|
||||||
import { TabbedPageComponent } from './tabbed-page/tabbed-page.component';
|
import { TabbedPageComponent } from './tabbed-page/tabbed-page.component';
|
||||||
import { DynTabsComponent } from './dyn-tabs/dyn-tabs.component';
|
import { TableScreenComponent } from './table-screen/table-screen.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -24,13 +24,15 @@ import { DynTabsComponent } from './dyn-tabs/dyn-tabs.component';
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
//TEST PER DYNAMIC TABS
|
//TEST
|
||||||
path: 'tabbed-page',
|
path: 'tabbed-page',
|
||||||
component: TabbedPageComponent,
|
component: TabbedPageComponent,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
path: 'dyn-tabs',
|
//TEST
|
||||||
component: DynTabsComponent,
|
path: 'mat-table',
|
||||||
|
component: TableScreenComponent,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -45,9 +45,6 @@ import { MatIconModule } from '@angular/material/icon';
|
||||||
{ provide: TitleStrategy, useClass: AppPageTitleStrategy },
|
{ provide: TitleStrategy, useClass: AppPageTitleStrategy },
|
||||||
],
|
],
|
||||||
bootstrap: [MainComponent],
|
bootstrap: [MainComponent],
|
||||||
declarations: [
|
|
||||||
// ItemsListComponent
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AppModule {
|
export class AppModule {
|
||||||
constructor(applicationConfigService: ApplicationConfigService, iconLibrary: FaIconLibrary, dpConfig: NgbDatepickerConfig) {
|
constructor(applicationConfigService: ApplicationConfigService, iconLibrary: FaIconLibrary, dpConfig: NgbDatepickerConfig) {
|
||||||
|
|
|
@ -23,6 +23,7 @@ import { MatRadioModule } from '@angular/material/radio';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { MatTreeModule } from '@angular/material/tree';
|
import { MatTreeModule } from '@angular/material/tree';
|
||||||
|
import { MatTableModule } from '@angular/material/table';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -50,6 +51,7 @@ import { MatTreeModule } from '@angular/material/tree';
|
||||||
MatListModule,
|
MatListModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatTreeModule,
|
MatTreeModule,
|
||||||
|
MatTableModule,
|
||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
MatButtonModule,
|
MatButtonModule,
|
||||||
|
@ -76,6 +78,7 @@ import { MatTreeModule } from '@angular/material/tree';
|
||||||
MatListModule,
|
MatListModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatTreeModule,
|
MatTreeModule,
|
||||||
|
MatTableModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class MaterialModule {}
|
export class MaterialModule {}
|
||||||
|
|
Loading…
Reference in New Issue