Closed ronnetzer closed 3 years ago
grid should work with transformed columns
grid breaks and throws error in deepPathGet because this being passed is undefined. should replace this with col https://github.com/shlomiassaf/ngrid/blob/0718af8b9e6d24468fb6a95adf891653f650bc74/libs/ngrid/core/src/lib/utils/column.ts#L32
this
col
https://stackblitz.com/edit/pebula-ngrid-starter-vg2c8x?file=app/app.component.ts added transform to all columns, you can see that no value is being passed, change the transform to return col and you'll see its not the real col
locally, I receive this error
angular: 11 ngrid: 3.0.0
duplicate of #158
@ronnetzer Release 3.0.1, thank you
What is the expected behavior?
grid should work with transformed columns
What is the current behavior?
grid breaks and throws error in deepPathGet because
this
being passed is undefined. should replacethis
withcol
https://github.com/shlomiassaf/ngrid/blob/0718af8b9e6d24468fb6a95adf891653f650bc74/libs/ngrid/core/src/lib/utils/column.ts#L32What are the steps to reproduce?
https://stackblitz.com/edit/pebula-ngrid-starter-vg2c8x?file=app/app.component.ts added transform to all columns, you can see that no value is being passed, change the transform to return col and you'll see its not the real col
locally, I receive this error![image](https://user-images.githubusercontent.com/1116785/106315964-b063f000-6274-11eb-911e-b111f9b67bc4.png)
Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?
angular: 11 ngrid: 3.0.0
Is there anything else we should know?