how to get dhtmlXLayoutObject Collapse status

such as: myLayout.cells(“a”).status()

I want to know cells(“a”) is Collapse or Expand

There is isCollapsed() method that can be used in this case:

var state = dhxLayout.cells(cellId).isCollapsed();