Closed sgiacinto closed 7 years ago
Seems it does not work with setRowHeight() but to me it looks like the libxl lib does not work properly here. For the moment you might want to get along with the normal write() method.
$b = new \ExcelBook();
$format = $b->addFormat();
$format->wrap(true);
$s = new \ExcelSheet($b, 'Sheet 1');
$s->write(1, 1, 'foo bar baz', $format);
Thanks
Hello, I cannot get the wrap function to work.
...
$xlSheet1->setRowHeight(2,30, $wrap_text);
Doesn't cause anything to happen, the text still expands past the cell boundary even though there is space for it to wrap.