I want to set the value column.editable = true on a click of a button. The purpose behind it is to enable the igx-column editable mode on a toolbar button click.
This piece of code worked perfectly for me. Highly appreciate your quick response.
Thank you.
Hello,
Thank you for contacting Infragistics Support.
I have been looking into your question and prepared a small sample that you might consider useful. It could be found here. As you can observe, I am creating the method setColumnsEditable() to set columns editable:
public setColumnsEditable() {
this.grid.columns.forEach(
(column: IgxColumnComponent) => (column.editable = !column.editable)
);
this.editable = !this.editable;
}
Please have a look at the provided sample and if it is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me for further investigation.
Looking forward to hearing from you.
Regards, Malin HadzhievEntry Level Software DeveloperInfragistics