Dynamic column width


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.



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


is it possible to get the row or column width



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