Posted 12 December 2017, 9:16 pm EST
<wj-group-panel class="enable-flex objlist-header-start" [grid]="flexGrid" [maxGroups]="4" [hideGroupedColumns]="false"></wj-group-panel>
<wj-flex-grid #flexGrid [itemsSource]="data" [isReadOnly]="true" [headersVisibility]="'Column'"
[deferResizing]="true" [preserveOutlineState]="false" [autoSizeMode]="'Both'" [selectionMode]="'Row'">
<wj-flex-grid-filter></wj-flex-grid-filter>
<wj-flex-grid-column [header]="'Text'" [binding]="'text'"></wj-flex-grid-column>
<wj-flex-grid-column [header]="'Value'" [binding]="'value'">
<ng-template wjFlexGridCellTemplate [cellType]="'ColumnHeader'" let-cell="cell">
{{cell.col.header}}
</ng-template>
</wj-flex-grid-column>
</wj-flex-grid>
If you define a custom template for a column header it will no longer display the sorting glyph and the grouping label also won’t align correctly.
What am I missing? My ultimate goal is to have a header that won’t display text (only filter and sorting) unless it’s shown in the group panel.