question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] How can I get width/height of a cell ?

See original GitHub issue

Thanks for great package. I read through README but found no way to get width/height of a cell ? So is this possible to get width/height of a cell by sheetjs ? Or how can I get width of a specific column and height of specific row ?

var width = cell.w;
var height = cell.h;

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
TranBaVinhSoncommented, Mar 12, 2020

@SheetJSDev I finally figured out cellStyles option but the column’s width I get by sheetjs is totally different from the actual width of column in excel file https://github.com/SheetJS/sheetjs/issues/591#issuecomment-289469196

0reactions
TranBaVinhSoncommented, Mar 10, 2020

@SheetJSDev Could you take a look at my comment ? Thanks in advance!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change the column width or row height in Excel
On the Home tab, select Format > Column Width (or Column Height). Type the column width and select OK. Automatically resize all columns...
Read more >
How to get current height and width of a cell in Tkinter module ...
You can use the grid_bbox method to get the size of a cell or group of cells. For example, given a frame f...
Read more >
How to change and AutoFit row height in Excel - Ablebits
Alternatively, to make all cells the same size, press Ctrl + A and drag rows and columns to a desired pixel size (as...
Read more >
Excel 2016 - Autofit & Column Width - How to Change Adjust ...
This Microsoft Excel 2016 tutorial shows you how to change increase decrease and adjust your row and column height and width.
Read more >
Get image width and height in Google Earth Engine
Get image width and height in Google Earth Engine · Ask Question ... We can get image dimensions with get("dimensions") ).get(0) .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found