mirror of
https://github.com/shuchkin/simplexlsxgen.git
synced 2023-08-10 21:12:59 +03:00
commit
75252a4a0c
@ -688,7 +688,7 @@ class SimpleXLSXGen {
|
|||||||
}
|
}
|
||||||
foreach ( $COL as $k => $max ) {
|
foreach ( $COL as $k => $max ) {
|
||||||
$w = isset($this->sheets[$idx]['colwidth'][$k]) ? $this->sheets[$idx]['colwidth'][$k] : min( $max+1, 60);
|
$w = isset($this->sheets[$idx]['colwidth'][$k]) ? $this->sheets[$idx]['colwidth'][$k] : min( $max+1, 60);
|
||||||
$COLS[] = '<col min="'.$k.'" max="'.$k.'" width="'.$w.'" />';
|
$COLS[] = '<col min="'.$k.'" max="'.$k.'" width="'.$w.'" customWidth="1" />';
|
||||||
}
|
}
|
||||||
$COLS[] = '</cols>';
|
$COLS[] = '</cols>';
|
||||||
$REF = 'A1:'.$this->num2name(count($COL)) . $CUR_ROW;
|
$REF = 'A1:'.$this->num2name(count($COL)) . $CUR_ROW;
|
||||||
|
Loading…
Reference in New Issue
Block a user