in some events I have to change the header of a layout cell.
I can’t find a method that works for me.
Any help would be greatly appreciated, thanks
Please, try to use:
layout.getCell("cellId").config.header= "new header label"
layout.paint()
Here is the example:
https://snippet.dhtmlx.com/x7v6chfs
Perfect ! It works very well.
I had put “document.querySelector(”#layout > div > div:nth-child(2) > div > div.dhx_layout-cell > div > div:nth-child(2) > div.dhx_layout-cell-header. dhx_layout-cell-header–row > h3").innerHTML= …'"
It worked but it was a solution I didn’t like.
Thanks for the support