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
215
Set the column.editable= true on a toolbar button click.
posted

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.

Parents
  • 60
    Verified Answer
    Offline posted

    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 Hadzhiev
    Entry Level Software Developer
    Infragistics

Reply Children