xuri / excelize-wasm

A WebAssembly build of the Go Excelize library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
https://xuri.me/excelize
BSD 3-Clause "New" or "Revised" License
190 stars 33 forks source link

Is it possible to format cells? #20

Closed riziles closed 4 months ago

riziles commented 8 months ago

Just curious if the WASM port allows cell formatting.

xuri commented 8 months ago

Yes. Please create style by the NewStyle function at first, and set cell style with the SetCellStyle function, just like using the Excelize library.

riziles commented 8 months ago

Yes. Please create style by the NewStyle function at first, and set cell style with the SetCellStyle function, just like using the Excelize library.

Thanks! I got a working example going here: https://stackblitz.com/edit/web-platform-swx4rl

riziles commented 4 months ago

Closing this as completed because it works and is awesome. I would recommend adding a format example to the README file.