28 lines
763 B
TypeScript
28 lines
763 B
TypeScript
import { Component, LOCALE_ID } from '@angular/core';
|
|
import { MAT_DATE_LOCALE } from '@angular/material/core';
|
|
import { RouterOutlet } from '@angular/router';
|
|
import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
|
|
|
|
ModuleRegistry.registerModules([ AllCommunityModule ]);
|
|
|
|
import { provideGlobalGridOptions } from 'ag-grid-community';
|
|
|
|
// Mark all grids as using legacy themes
|
|
provideGlobalGridOptions({
|
|
theme: "legacy",
|
|
});
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
imports: [RouterOutlet,],
|
|
providers: [
|
|
{ provide: LOCALE_ID, useValue: 'de-DE' },
|
|
{ provide: MAT_DATE_LOCALE, useValue: 'de-DE' }
|
|
],
|
|
templateUrl: './app.component.html',
|
|
styleUrl: './app.component.scss'
|
|
})
|
|
export class AppComponent {
|
|
|
|
}
|