How to attach text title to tab?

Hello,

I have a tabbar where I have to attach some title then attach Tollbar and then attach grid in series.

My code :
myTabbar.cells(“attributes”).attachObject(“attrDefaultContent”); // where attrDefaultContent id of div with text
var attrToolbar = myTabbar.cells(“attributes”).attachToolbar();

var attrGrid = myTabbar.cells(“attributes”).attachGrid();

but there is no title object, Tollbar starts from the top of Tabbar and then Grid.
Also i tried next way:
myTabbar.setContentHTML(‘attributes’, “

Hello
”);
no results…

Please advise.
Thank you.
Alex.

Hello

attachGrid() method doesn’t allow place other object into a cell except menu and toolbar. The possible solution is to place 2E layout into the cell: “a” cell - object, “b” cell - grid
var layout = myTabbar.cells(“attributes”).attachLayout(“2E”,“dhx_skyblue”);
layout.cells(“a”).attachObject(…);
layout.cells(“a”).hideHeader();
var toolbar = layout.cells(“b”).attachToolbar();
var grid = layout.cells(“b”).attachGrid();
layout.cells(“b”).hideHeader();

Thank you much.

Regards,
Alex.