Dhtmlxgrid container width in pixels

A simple question I think: does a grid know its own container width on the page?

For instance, I have a Dhtmlx layout with 2 columns. The right column contains a tabbar, with in one of its tabbar cells a button bar and a grid.
How can I know, for instance in a Dhtmlxgrid onRowSelect event, how wide the grid container is (the container in this case is the tabbar)?

We want to use this information to show/hide columns on the fly, based on the actual width of the grid container (its parent).

You may try to use the
myGrid.entBox.style.width
property.