Ordering arrows disappearing when using wjFlexGridCellTemplate

Posted by: frederic.jammes on 18 January 2018, 5:42 am EST

    • Post Options:
    • Link

    Posted 18 January 2018, 5:42 am EST

    Hello,

    When using a wj-flex-grid, a wj-flex-grid-filter and wjFlexGridCellTemplate for the healder, I can’t see the arrows for the column ordering.

    the flexgrid looks like this :

    <wj-flex-grid

    #grilleWijmo

    [selectionMode]=“‘None’”>

    <wj-flex-grid-filter [filterColumns]=“[‘valeurEntree’]”>

    <wj-flex-grid-column

    [binding]=“‘valeurEntree’”>

    <ng-template wjFlexGridCellTemplate [cellType]=“‘ColumnHeader’”>

    Entrée



    <ng-template

    wjFlexGridCellTemplate

    [cellType]=“‘Cell’”

    let-item=“item”>

    <input

    type=‘text’

    [(ngModel)]=“item.valeurEntree”/>





    Could you help me, please ?

  • Posted 18 January 2018, 7:51 pm EST

    Hi,

    It seems you are using cell template to change the column header. If yes, you may change the column header using header property.

    If you are using cell template for Column Header, the default icon gets removed. For re adding items, you need to add icon for column based on sort Order.

    Please refer to the following sample:

    http://plnkr.co/edit/qDp4DrOkWBqy490z1D5Z?p=preview

    ~Manish

  • Posted 21 January 2018, 10:52 pm EST

    Hello,

    thank you for the quick reply.

    You’re right, I’m using cell template.

    I used it because I would like to use wjTooltip on the header of my column.

    Could you give me an example for doing so please ?

    Thank

    Frédéric

  • Posted 22 January 2018, 3:22 pm EST

    Hi Frederic,

    For adding Tooltip to ColumnHeader, you need not to use wjFlexGridCellTemplate. You need to handle appropriate mouse event for FlexGrid.

    For your reference, please refer to the following forum thread where the same topic has been discussed:

    https://www.grapecity.com/en/forums/wijmo/tooltip-on-wijmo-flexgrid-_1

    For any further queries, please let us know.

    ~Manish

Need extra support?

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

Learn More

Forum Channels