Column Width Changing on Data Load

82 views
Skip to first unread message

Pearce Stephens

unread,
Nov 16, 2022, 2:53:43 AM11/16/22
to Luckysheet
Hey everyone, I just started using this library today.

I had a problem where when I loaded data in from JSON, the width of the columns was incorrect only for columns where I had custom column header widths. The result would be headers that were about 500px in width.

The fix I Identified was to convert the string of the column width inside the JSON before storing it in the database to a floating-point number.

22222.png

This might help somebody else out there.






Reply all
Reply to author
Forward
0 new messages