issue: version 3.X vs 4.2 | cells(‘’).collapse()
When collapsing the last cell programmatically the previous cell automatically gets expanded. This is undesired and did not happen in 3.X versions. Is there a fast work around for this? See below.
version 3.X:
var layout = new layout(“3E”);
layout.cells(“b”).collapse();
layout.cells(“c”).collapse();
// output, cell “a” is only cell expanded
cell a
version 4.2:
var layout = new layout(“3E”);
layout.cells(“b”).collapse();
layout.cells(“c”).collapse(); // triggers expand of cell “b” for some reason.