I have a ExtJs Grid with two left most columns locked. I am trying in a handler to dynamically change the text of the column headers depending on the ComboBox:
grid.headerCt.getHeaderAtIndex(1).ownerCt.setText('<font color = "black">New H1 '+comboBox.value+'</font>');
...
Also due to the internally divides of the locked grid into two grids, I tried to do as follows:
grid.items.items[0].headerCt.getHeaderAtIndex(1).ownerCt.setText('<font color = "black">New H1 '+comboBox.value+'</font>');
...
But in both cases I get the error:
Uncaught TypeError: k.view.getScrollable is not a function
This used to work previously but now after locking columns it no longer works as expected.
How can I solve this problem or maybe there is another way change header text in locked columns?
Any solutions or pointers would be much appreciated.
grid.getColumns()[0].setText("shubham");