src/lib/components/gridview-columns/gridview-columns.component.ts
Angular Component for the GridView Columns Control.
selector | wm-gridview-columns |
styleUrls | ./gridview-columns.component.scss |
templateUrl | ./gridview-columns.component.html |
Properties |
controlFieldChildren |
Type : QueryList<DataControlFieldComponent>
|
Default value : new QueryList<DataControlFieldComponent>()
|
Decorators :
@ContentChildren(DataControlFieldComponent)
|
List of DataControlField components. |
import { Component, ContentChildren, QueryList } from '@angular/core';
import { DataControlFieldComponent } from '../data-control-field/data-control-field.component';
/**
* Angular Component for the GridView Columns Control.
*
* @export
* @class GridViewColumnsComponent
*/
@Component({
selector: 'wm-gridview-columns',
templateUrl: './gridview-columns.component.html',
styleUrls: ['./gridview-columns.component.scss']
})
export class GridViewColumnsComponent {
/**
* List of DataControlField components.
*
* @type {QueryList<DataControlFieldComponent>}
* @memberof GridViewColumnsComponent
*/
@ContentChildren(DataControlFieldComponent)
controlFieldChildren: QueryList<DataControlFieldComponent> =
new QueryList<DataControlFieldComponent>();
}
<ng-content></ng-content>
./gridview-columns.component.scss