Initializing grid from a layout verses new dhtmlXGridObject

Version: dhtmlxSuite_v413_pro

I am trying to use the column count but am not getting anything. Are all methods loaded when attaching a grid to a layout without using the new dhtmlXGridObject()

mygrid = layout.cells(“a”).attachGrid();

Using any of the two methods brings no value for me.
var colNum = mygrid.getColumnCount();
var colNum = mygrid.getColumnsNum();

STRYDE: TRAINING DATA /*these styles allow dhtmlxLayout to work in fullscreen mode in different browsers correctly*/ html, body { width: 100%; height: 100%; margin: 0px; overflow: hidden; background-color:white; }

Solution found here: thread

Solution found here: http://forum.dhtmlx.com/viewtopic.php?f=2&t=446&p=1256&hilit=getColumnCount#p1256