Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Igx Column [disablePinning] not working

Hello, I have a problem regarding the use of disablePinning on Igx Columns. See in the attached image that it is set to true but it still shows on the list of pinnable columns unlike the disable hiding which works perfectly fine.

<igx-column field="description" header="Description" [dataType]="'string'" [sortable]="true" [resizable]="true" [disableHiding]="true" [disablePinning]="true"></igx-column>
Is this a bug or am I just missing something.
This is my igx grid element:

 <igx-grid #grid_9 id="grid_9" [data]="standardCardProducts" width="100%" height="500px" [primaryKey]="'id'" [rowEditable]="true"  sortable="true"
                      (activeNodeChange)="activeNodeChange()"  [displayDensity]="'compact'" [height]="gridHeight" [showToolbar]="true" [columnHiding]="true"
                      (rowEdit)="editDone($event)" (rowDeleted)="deleteDone($event)" [moving]="true" (columnPinned)="gridService.columnPinned($event)" (columnInit)="columnInit($event)"
                      [igxGridState]="options" (rendered)="igxGridRendered()" (columnVisibilityChanged)="gridService.updateVisibleColumnsCount($event)">
Thanks in advance.
No Data
  • 1560
    Offline posted


    I have been looking into your question and prepared a small sample in order to test the behavior. However, on my side, everything seems to work as expected and the columns are not displayed in the pinning list if their disablePinning property is set to 'true'. I'm testing the behavior with igniteui-angular version 16.0.0.

    Here could be found my sample for your reference. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce.

    Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.

    Thank you for your cooperation.

    Looking forward to hearing from you.

    Teodosia Hristodorova
    Software Developer

No Data