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
135
igx spreasheet non editable
posted

I am binding data to spreadsheet.Can I make spreadsheet non editable?

I want something like as below

this.spreadsheet.workbook.worksheets(0).Editable=False:

User should not able to edit excel sheet.User can only  see excel in read mode.

Can you please help me

Parents Reply
  • 1560
    Offline posted in reply to Roopesh p m

    Hello,

    A possible approach using the deleteCells method would be to create a
    WorksheetRegion with all cells in the required rows and pass this region as a parameter of the method as follows:

      public delete() {
        const ws = this.spreadsheet.workbook.worksheets(0);
        const maxColIndex = ws.columns().maxCount - 1;
        let region = new WorksheetRegion(ws, 0, 0, 1, maxColIndex);
        ws.deleteCells(region, false);
      }

    In addition, please note that according to our policy, we handle a single issue per case, and since the inial topic was about non-editable worksheets, my suggestion, if you have further questions not related to the initial, is to create new threads. This is for better consistency and history tracking.


    If you require any further assistance on the matter, please let me know.


    Sincerely,
    Teodosia Hristodorova
    Software Developer

Children