I want to add row action column to IgxGridComponent before it is rendered, my requirement is not to use ngFor.
I have added my custom directive on <igx-grid> which will be adding this dynamic column.
Thanks in Advance.
You need to use *ngFor in order to do this. If you can provide your component code and your template, I can assist you to move your columns configuration to a collection you can *ngFor on top of.
Thank you for using Ignite UI for Angular!
all of my columns are static, there is just one column which I want to add dynamically every time.
The static columns can still be declared as a static configuration in the component, and the configuration can then be augmented with the dynamic column.
I made a small stackblitz example of how I turn this sample:
Into a sample with columns defined in configuration, and an dynamic column that is being added with a button: