WriteColWidth lazarus / 49-FPSpreadsheet ---------------------------------------------------------------------- Abrax · 2017-02-03 10:15 I would like to change the width of columns of a worksheet in runtime, but the sWorksheetGrid1.Worksheet.WriteColWidth() function doesn't do anything. I tried the sWorkbookSource1.Worksheet.WriteColWidth() function on the workbooksource of the worksheetgrid with the same success. I tried different size unit too. By the way I can read from and write to the cells of the grid. Should I check/set some properties to make WriteColWidth work, or call any other procedure to activate the width changing? ---------------------------------------------------------------------- wp · 2017-02-03 11:41 Recently there have been some changes related to column widths and column formats. IIRC notification of the grid in case of changed column properties has been added in this context. So, I think you should upgrade to a recent version of fpspreadsheet trunk (or wait a bit, I am planning to release a new stable version soon). ---------------------------------------------------------------------- Abrax · 2017-02-06 08:32 OK, thank you for all the information.