Disable FlexGrid's columns header resizing

Posted by: kun.leeing on 9 June 2019, 2:54 pm EST

    • Post Options:
    • Link

    Posted 9 June 2019, 2:54 pm EST

    Hi guys,

    Have tried a number of ways to disable the allowResizing, attempts failed.

    <wj-flex-grid [itemsSource]=“dataView”

    [headersVisibility]=“‘Column’”

    selectionMode=“CellRange”

    allowVirtualScrolling=“true”

    [allowDragging]=“‘None’”

    [allowResizing]=“‘false’”

    >

    <wj-flex-grid-column *ngFor=“let col of dynamicColumns”

    [binding]=“col.binding”

    [header]=“col.header”

    [visible]=“col.visible”

    [width]=“col.width”

    [allowResizing]=“‘false’”

    >

    besides this, also tried.

    this.grid.columnHeaders.rows[0].allowResizing = false;

    All seemed not to work.

    Could someone give a clue on this?

    Thanks in advance.

  • Posted 10 June 2019, 5:52 pm EST

    Hi guys,

    I resolved it after trying different ways.

    It should be [allowResizing]=“‘None’” which works for me.

    Just ignore this one. Thanks, guys.

Need extra support?

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

Learn More

Forum Channels