KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Text-align for Excel-Export #420

Open ES opened this topic on on Aug 16, 2018 - 1 comments

ES commented on Aug 16, 2018

I expected that the text-align of the Excel columns is regarding to the datatype (right for number, left for strings). But if I export the datastore to Excel all columns have the text-align right:

How can I change this?

David Winterburn commented on Aug 17, 2018

Hi,

We will apply this fix in the next version of the Excel package. In the mean time, if you want you could open the file ExcelExport.php in the package and change line 50, 51 from HORIZONTAL_RIGHT to HORIZONTAL_LEFT depending on $colMetas[$colKey]["type"]. Thanks!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Excel