public function render(IO $io, $indentation = 0)
{
// Is the grid empty?
if (!$this->cells) {
return;
}
$screenWidth = $io->getTerminalDimensions()->getWidth();
$excessColumnWidth = StringUtil::getLength(sprintf($this->style->getCellFormat(), ''), $io);
$wrapper = $this->getCellWrapper($io, $screenWidth, $excessColumnWidth, $indentation);
$this->renderRows($io, $wrapper->getWrappedRows(), $wrapper->getColumnLengths(), $excessColumnWidth, $indentation);
}