Sorting and Grouping with custom ColumnHeader

Posted by: mfrey43 on 12 December 2017, 9:16 pm EST

  • 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.

  • Posted 13 December 2017, 10:51 pm EST

    Hi,

    Thank you for reporting this issue. We are able to replicate the issue at our end and it seems a bug. Hence, this issue has been escalated to the concerned team for further investigation with tracking id 301017.

    We will let you know as we get any update on this.

    ~Manish

  • Posted 19 July 2019, 4:16 am EST

    Any updates on this? I am facing the same issue.

  • Posted 21 July 2019, 8:30 pm EST

    Hi Igor,

    The issue is still with the dev team. We have told them to prioritize the issue. We will give you an updated as soon as the issue is fixed.

    Regards,

    Ashwin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels