Row Header Width

Tags: #<Tag:0x00007f8b25a66780>

Hello,

How can I fix the width of the row header ?
I tried these options :

  1. colWidths: 200
  2. this.hotRegisterer.getInstance(this.id).updateSettings({ rowHeaderWidth: 200})

But, I have no changes in my table.
I’m using angular to display handsontable component

in my json.package, I have this version: “@handsontable/angular”: “^5.1.0”

Thanks for help !

Hi @severin.chazalmartin

is the rowHeaderWidth option that you looked for?

Demo: https://jsfiddle.net/fkoqr073/

Hi,
I just told you that I tried this option but it doesn’t work
This is my code :

 this.hotSettings = {
        data: this.getDataRows(),
        colHeaders: this.generateRowHeader(),
        rowHeaders: this.generateColHeader(),
        rowHeaderWidth: 500
      };

what is missing ?

Oh yes, sorry. But, the rowHeaderWidth is working in a demo. It just doesn’t extend your row headers?

Yes this doesn’t increase the width of the rowheaders

Maybe the hotSettings are not executed. Can you add any other options that haven’t been added to the initialization?
Maybe there are some console errors? What version of Handsontable does your @handsontable/angular”: “^5.1.0” use? Here https://jsfiddle.net/ac20zsyh/ I am using handsontable/angular 5.1.0 and the option is loaded.

I guess that we can close this topic as there’s no reply for more than a week.