How to change layout cell header text?

The v5 cell object had a .setText() method but I don’t see an equivalent in V6?
The code below works but surely there must be an easier way:

mainLayout.getCell('pToolbar').config.header = "test";
mainLayout.getCell('pToolbar').paint();

Hi @Al4,

The “Suite v6.x” is quite a new product and it doesn’t have some of the “Suite v5.x” functionality. For now, your way of changing the header’s value is correct.