data-explorer icon indicating copy to clipboard operation
data-explorer copied to clipboard

column resizing issue

Open dschneiderch opened this issue 6 years ago • 6 comments

Thanks for this super cool extension!

I thought I'd point out that things go a bit haywire if you try to resize the columns. image

I'm on Windows 10, Atom 1.34, data-explorer 0.5.0

dschneiderch avatar Feb 22 '19 00:02 dschneiderch

I'm having the same issue with column resizing.

This is a very useful tool (even for tableview alone). Thank you for your work.

lojunqueira avatar Mar 01 '19 12:03 lojunqueira

Thanks for the issue and positive feedback @dschneiderch and @lojunqueira. The issue seems to be in a dependency of @nteract/data-explorer.

I will look into this soon and again I really appreciate the feedback!

BenRussert avatar Mar 05 '19 16:03 BenRussert

Can you see how this looks on the latest release v0.6.0 @dschneiderch @lojunqueira?

BenRussert avatar Apr 08 '19 03:04 BenRussert

still out of alignment. Also looks like after the default 20 rows it didn't update the column widths.

image

dschneiderch avatar Apr 08 '19 16:04 dschneiderch

@dschneiderch thanks so much for the help!

Have you tried the nteract data explorer in either our desktop app or jupyter notebook extension? To narrow this down, Im wondering if you experience the same issue there?

Also, is that dataset something you could share a csv gist of? Just for easier repro when I look into.

BenRussert avatar Apr 09 '19 00:04 BenRussert

Here is a smaller version of dataframe: https://gist.github.com/dschneiderch/b01096495895ef87977a9baeb0541160#file-gistfile1-txt

Using nteract, I don't have as many issues. I will note that double clicking the boundary between fields in the header does not auto resize the column as would be expected. When I bump from 20 to 100 rows, the columns are properly aligned unlike in Atom. EDIT: if i manually drag the column headers the columns stay aligned. I thing I noticed that might help, when you select a column in nteract the cell boundary from being clicked is different than the row width. see screenshot. Screenshot_7

dschneiderch avatar Apr 09 '19 15:04 dschneiderch