Toolbar's setState

Hi,
the toolbar’s setState method doesn’t set the value for the title component.

It sets the value only for input or selectButton, and sets the active state for the others components.

I think that it should set the value for title components too.

Thanks,
Aldo

p.s. (dhtmlxSuite v.6.0.3)

Unfortunately the setState() method allows only to change the values of the toolbar controls. Currently it is not available to change the value of any item of the toolbar with the setState() method. I’ll send your request to the dev team, so the possibility to change any item of the toolbar may appear in the future updates.

Currently that is not necessary. Just use the data property.

https://snippet.dhtmlx.com/u226i4vm

1 Like