test data-grid
This commit is contained in:
parent
2c7b3ab10f
commit
1bf36c03e9
@ -1,12 +1,14 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { DataGridComponent } from './data-grid/data-grid.component';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [],
|
declarations: [DataGridComponent],
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule
|
CommonModule
|
||||||
]
|
],
|
||||||
|
exports: [DataGridComponent]
|
||||||
})
|
})
|
||||||
export class DataGridModule { }
|
export class DataGridModule { }
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>some header</th>
|
||||||
|
</tr>
|
||||||
|
</table>
|
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'ps-data-grid',
|
||||||
|
templateUrl: './data-grid.component.html',
|
||||||
|
styleUrls: ['./data-grid.component.scss']
|
||||||
|
})
|
||||||
|
export class DataGridComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -3,3 +3,4 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export * from './lib/data-grid/data-grid.module';
|
export * from './lib/data-grid/data-grid.module';
|
||||||
|
export * from './lib/data-grid/data-grid/data-grid.component';
|
@ -1 +1,5 @@
|
|||||||
<p>data-grid-demo-home works!</p>
|
<h1>
|
||||||
|
This is a demo for a grid.
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<ps-data-grid></ps-data-grid>
|
@ -3,13 +3,15 @@ import { CommonModule } from '@angular/common';
|
|||||||
|
|
||||||
import { DataGridDemoRoutingModule } from './data-grid-demo-routing.module';
|
import { DataGridDemoRoutingModule } from './data-grid-demo-routing.module';
|
||||||
import { DataGridDemoHomeComponent } from './data-grid-demo-home/data-grid-demo-home.component';
|
import { DataGridDemoHomeComponent } from './data-grid-demo-home/data-grid-demo-home.component';
|
||||||
|
import { DataGridModule } from '@poweredsoft/ngx-cdk-ui';
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [ DataGridDemoHomeComponent],
|
declarations: [ DataGridDemoHomeComponent],
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
DataGridDemoRoutingModule
|
DataGridDemoRoutingModule,
|
||||||
|
DataGridModule
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class DataGridDemoModule { }
|
export class DataGridDemoModule { }
|
||||||
|
Loading…
Reference in New Issue
Block a user