-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dtale has no toolbar to view longer values #477
Comments
Sorry I thought I had left a little tooltip with the full value, but I think that only happens if you use the string formatting functionality to trim the value and an ellipses exists. Until I can build something more permanent (like what is in excel) I can update the code to have a tooltip display the full value a column is over a certain length (100 characters sound good?) |
Sure, and thank you for the prompt response. Dtale is amazing btw! |
@Azrael1 here's what I have so far. This is using a giant string of 1369 characters and I just created a dataframe with random substrings of this long string:
Screen.Recording.2021-05-17.at.1.22.15.PM.movSo the idea is that you can adjust the maximum width of the columns in your grid using that slider or the text input from the ribbon menu. Once you updated the value the grid is re-drawn. After its been re-drawn you can still drag the column widths past that maximum if you'd like. You can also turn off the maximum width by toggling that checkbox from the ribbon menu. Not sure how long the text is that you're viewing but as you can see the tooltip hits some height issues depending on your browser. |
Now I'm going to work on trying to add a view at the top (similar to excel) which will appear when you double-click a cell for editing. And it will be hidden when nothing is being edited. Currently you can press "Esc" to exit editing. |
@Azrael1 getting a little further... editing_cells.mov |
Thanks a bunch, this really helps. Should I close the issue then? |
I’ll keep it open until I do a release in a few days. Just need to add some test coverage |
@Azrael1 this has been released to pypi in v1.47.0 (it will be in conda-forge shortly). Please throw your ⭐ on the repo if you haven't done so already. And let me know if you hit any issues 🙏 |
@aschonfeld Hi, I can't get cell text previewed as shown in you video when max-width is applied. Do you have any idea of this? Thanks. |
@liebkne sorry I just merged a fix for this issue and will hopefully have a release out sometime in the next couple days |
@liebkne this has been fixed in v1.53.0 If you haven't already, please take a second to toss your ⭐ on the repo. Thanks 🙏 |
I am trying to view a dataset, with large text values. Dtale increases the column width so much, that it is a pain to scroll to the right.
Can there be an option to change the default column width?
Also, a toolbar that shows the current cell's value, would be quite useful(similar to excel). This would also eliminate the need for really big column sizes.
The text was updated successfully, but these errors were encountered: