core.js:614TypeError: Cannot read property 'destroy' of undefined TypeError: Cannot read property 'destroy' of undefined

Tags: #<Tag:0x00007efc60d3cb98>

Hello, I have a problem when refresh the page with a table,
I have a button, it goes to a component on angular 11. When it comes from button the table is ok, but when I refresh that url I have the next error message:
image
My basic code .ts is:
export class HomeSupplierComponent implements OnInit {

lickey = '';

settings={

    data: Handsontable.default.helper.createSpreadsheetData(100,100),

    //.createSpreadsheetData(100,100),

    fixedColumnsLeft: 1,

    cells: (row, col) => {

      //let cp = {read};

      if(col === 0){

        //cp.readOnly = true

      }

      //return cp

    }

  }

}

template .html
<hot-table [licenseKey]=“lickey” [settings]=settings>

I don’t know if I missed something

Hi @pochacamx,
Thank you for sharing the error and configuration, but I’m afraid it’s not enough to understand that problem.
Could you fork this example on codesandbox and adjust the code to allow us to reproduce and investigate the issue?

Hi @pochacamx

do we have any updates on the subject?

I’m closing this topic as there is no reply for a month.

If you still need an answer for this or other questions please feel free to contact us at support@handsontable.com