Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
IgxGridComponent add dynamic column


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.

I tried:

let actionColumn = new IgxColumnComponent(undefined, this.gridRef.cdr);
actionColumn.header = "Actions";
actionColumn.field = "Actions";