Text widget (version >= 6.0.0)

Using an Excel's Text widget for exporting text content together with some properties. This widget works in both Excel and spreadsheet template files.

<div>
    <div>
        <?php
        \koolreport\excel\Text::create([
            "text" => "Orders",
            "excelStyle" => $styleArray,//used in ExcelExportable's template
            "spreadsheetStyle" => $spreadsheetStyleArray // used in ExcelExportable's template
        ]);
        ?>    
    </div>
</div>

Text #

A string to define the displayed text value. This widget works in both Excel and spreadsheet template files.

excelStyle #

A style array to define style of the text cell when using ExcelExportable

spreadsheetStyle (version >= 7.0.0) #

A style array to define style of the text cell when using BigSpreadsheetExportable

Get started with KoolReport

KoolReport will help you to construct good php data report by gathering your data from multiple sources, transforming them into valuable insights, and finally visualizing them in stunning charts and graphs.