How to set width of the column in report

I created script based report. How to define the width of the column?

Open .py file and you can set the width of the columns like column name followed by length.

The width can be set in the <report_name>.py file if it is a script report as follows:

   "fieldname": "amount",
   "label": _("Amount"),
   "fieldtype": "Currency",
   "width": 130

For Query reports, You can set it in the SQL Query statement as follows:

select item_code as "Material Code:Link/Item:120"
from tabItem ......

thanks able to do it.

To tell precisely columns=[{“fieldname”:“xyz”,“widht”:130},{…}]