Basic dynamic table rendering

- render visible columns
- code improvements
This commit is contained in:
Denys Vuika
2016-10-17 16:10:49 +01:00
committed by Vito Albano
parent cf9053ab46
commit 7a08a9d29d
7 changed files with 99 additions and 9 deletions

View File

@@ -15,9 +15,9 @@
* limitations under the License.
*/
import { Component } from '@angular/core';
import { Component, Input, OnInit } from '@angular/core';
import { WidgetComponent } from './../widget.component';
// import { DynamicTableModel } from './../core/index';
import { DynamicTableModel } from './../core/index';
@Component({
moduleId: module.id,
@@ -25,6 +25,11 @@ import { WidgetComponent } from './../widget.component';
templateUrl: './dynamic-table.widget.html',
styleUrls: ['./dynamic-table.widget.css']
})
export class DynamicTableWidget extends WidgetComponent {
export class DynamicTableWidget extends WidgetComponent implements OnInit {
@Input()
content: DynamicTableModel;
ngOnInit() {
}
}