How to include combo in layout header?

Your overview section of the layout documentation suggests that you can include other objects within the header part of a layout. e.g. 3rd column appears to have radio buttons ‘Current tag only’ and ‘All similar tags’.

Please can you tell me how to do this. Alternately can you tell me how to attach another layout within the cell of a layout.

Thanks

Purvez

Your overview section of the layout documentation suggests that you can include other objects within the header part of a layout. e.g. 3rd column appears to have radio buttons ‘Current tag only’ and ‘All similar tags’.

Here is the part from layout “overview”:
"It gives you an opportunity to manipulate with header (hiding/showing, setting header text), footer and locate various items in a layout cells: objects, dhtmlx components, web pages etc. "

There is “locate various items in a layout cells”, not header.

However, you may try to place html into the cells header using setText method:
layout.cells(“c”).setText("<a …> link ");

Alternately can you tell me how to attach another layout within the cell of a layout.

var layout2 = layout.cells(“c”).attachLayout(“2E”);

Hi Alexandra

I was referring to the image which appears to show radio buttons embedded into the cell header in 3rd Column.

However if that is not possible then please can you tell me how I can include a combo box into a cell?

Thanks

Purvez

Hi,

I was referring to the image which appears to show radio buttons embedded into the cell header in 3rd Column.

I have already mentioned setText method:

dhxLayout.cells(“c”).setText(’<input type=“radio” name=“edit_mode” …>Current tag only All similar tags’);

However if that is not possible then please can you tell me how I can include a combo box into a cell?

Html container can be set by attachObject method. This container may contain the div for combo and any other component:

[code]

...


layout.cells("a’).attachObject(“someContainer”);[/code]