Answers for "datatable set max width"

PHP
2

phpexcel set width

$this->PhpExcel->createSheet($page);
$this->PhpExcel->setActiveSheetIndex($page);
$sheet = $this->PhpExcel->getActiveSheet();

$sheet->getColumnDimension('A')->setWidth(40);
$sheet->getColumnDimension('B')->setWidth(28);
$sheet->getColumnDimension('C')->setWidth(25);
$sheet->getStyle("A8:C8")->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
Posted by: Guest on January-06-2021
0

datatable column width

columnDefs: [
            { width: 200, targets: 0 }
        ],
Posted by: Guest on July-20-2020

Code answers related to "datatable set max width"

Browse Popular Code Answers by Language