shlomiassaf / ngrid

A angular grid for the enterprise
https://shlomiassaf.github.io/ngrid
MIT License
241 stars 41 forks source link

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

Closed nchowdhury20 closed 1 week ago

nchowdhury20 commented 2 weeks ago

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.

nchowdhury20 commented 1 week ago

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.

nchowdhury20 commented 1 week ago

its close.