primeng icon indicating copy to clipboard operation
primeng copied to clipboard

showing exception nextElementSibling when resizing the column in primeng table

Open SRICHANDANCHINNAM opened this issue 7 years ago • 1 comments

If you have a PrimeNG PRO Support subscription please post your issue at;

Hi Folks,

I am using primeng(7Version) with resizable column with scroll behaviour..

I have followed the primeng site and gone through google as well.. Still i am facing

Cannot read property 'nextElementSibling' of undefined at Table.push../node_modules/primeng/components/table/table.js.Table.resizeColGroup (table.js:1296) at Table.push../node_modules/primeng/components/table/table.js.Table.onColumnResizeEnd

The above exception..

I have used in my project like below

                          <ng-template pTemplate="colgroup" let-columns="columns">
                            <colgroup>
                                <col *ngFor="let col of columns" [style.width]="col.width">
                            </colgroup>
                        </ng-template>

and i have also used [resizableColumns]="true" columnResizeMode="expand"

SRICHANDANCHINNAM avatar Aug 01 '19 14:08 SRICHANDANCHINNAM

I’m unable to replicate with the latest PrimeNG (https://stackblitz.com/edit/github-gz9jd3). If the issue still persists with the new version please create a new issue with our stackblitz template. https://stackblitz.com/github/primefaces/primeng-issue-template

yigitfindikli avatar Aug 05 '19 13:08 yigitfindikli