Dynamic column width

Hi,

i would like to have one column to take the rest of the field width for a particlar layout.

like the way we do * on the dhtmlxGrid.

Regards.

Hello,

did you ask about Grid or Layout ?

Grid allows to set only fixed width. So, there is not possibility for this view.
If you asked about Layout, its columns take available width by default.

it was for Grid,

Thx anyway

Hi,

is it possible to get the row or column width

Regards

Hi,

The width of grid column is defined in fields collection. Row height is defined in type property as well as for lists. To get these sizes you can use the following:

var width = $$(“grid”).type.fields[“field_id”].width;
var height = $$(“grid”).type.height;

“grid” and “field_id” depend on your configution