Selects a cell's z-index — its paint order within a layer, where higher values draw on top. Falls back to 0 when the cell has no explicit z-index.
0
the resolved cell record
import { useCell, selectCellZIndex } from '@joint/react';const z = useCell(cellId, selectCellZIndex); Copy
import { useCell, selectCellZIndex } from '@joint/react';const z = useCell(cellId, selectCellZIndex);
Selects a cell's z-index — its paint order within a layer, where higher values draw on top. Falls back to
0when the cell has no explicit z-index.