shlomiassaf/ngrid

Sticky columns set through directive cannot be "un-sticked"

romgerman opened this issue · 1 comments

What is the expected behavior?

Passing an empty array into stickyColumnStart should reset sticky columns set with directive

What is the current behavior?

Passing an empty array into stickyColumnStart does nothing

What are the steps to reproduce?

https://stackblitz.com/edit/pebula-ngrid-starter-3ecjhm?file=src/app/app.component.ts

Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?

Angular 14.2.5, CDK 14.2.4, NGrid 5.0.0, OS Windows 10, TypeScript 4.7.2

Chrome 108.0.5359.126, Firefox 108.0.2

Workaround is to manually set pin for PblColumnDefinition through code.