shlomiassaf/ngrid

pbl-ngrid-cell duplicating in each pbl-ngrid-row after upgrading the version to @pebula/ngrid": "5.0.0"

Closed this issue · 2 comments

I am new in anguler. I upgraded my project from angular 8 to angular 14 and in my recent angular 14 project i am using @pebula/ngrid": "5.0.0" vesion. the issue i am facing is duplication of Pbl-ngrid-cell in each pbl-ngrid-row. I try to use columnApi but did not manage to work it right. i do not understand the BREAKING CHANGE this "ngrid: If you used the hideColumns property (setter only) via code and not via html binding it will no longer work. Instead, use the new api to add/remove columns. If you used it via bindings, it will still work but it is not recommended because other plugins that use the API will override values from the array provided." will i get a bit help please.

I manage to fix the columnApi issue. if i use columnApi hide method i have to use the show method as well after hide method. but if i use columnApi i do not need to use [hideColumn] property in the html template.

its close.