Skip to content

resize

Resize a variable cell block.

resize(hCB, rows, cols)

Adjusts the visible row and column count of the variable cell block referenced by hCB. For variables larger than the visible block, this changes how much of the variable is exposed in the spreadsheet view; for smaller variables, the block can be expanded to reserve space for future growth.

MathJet-specific. The block is a view of the underlying variable; resizing changes the view, not the data.

resize(myVarBlock, 10, 5)
  • expand — Expand a previously collapsed cell block.
  • collapse — Collapse a cell block to its summary view.
  • movetable — Move a table or variable cell block to a new position.