Dhtmlxtoolbar, how to hide an item in xml data

Hi,
How can I hide an item where I am providing the toolbar items in xml as input?
Is is possible to add an icon in the layout right-top corner of header?

Hi,

How can I hide an item where I am providing the toolbar items in xml as input?

You can use hidden attribute in the xml:

<item hidden=“1” …

Is is possible to add an icon in the layout right-top corner of header?

There is not such a public method. If a cell has fixed width, you can set complex header content with button included. Or you can hide header and attach toolbar with required buttons - dhtmlxToolbar/samples/01_init/13_spacer.html