Skip to content
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

Add row dropdown support #891

Closed
wbrguerra opened this issue Nov 22, 2024 · 5 comments
Closed

Add row dropdown support #891

wbrguerra opened this issue Nov 22, 2024 · 5 comments

Comments

@wbrguerra
Copy link

wbrguerra commented Nov 22, 2024

It would be amazing if in the table output, there existed the ability to dropdown individual rows in the same view for exploratory data analysis. For security analysts and engineers, correlating activity and pivoting across different logging sources in a single view is extremely valuable. Especially when there are a multitude of a columns and rows.

An example of the requested behavior is shown below. The images show the table output of KQL (Kusto Query Language) queries, which is used by Azure services (i.e., Azure Data Explorer and Log Analytics Workspace). You can click an arrow and the table will output/melt the single row.

image

image

@wbrguerra wbrguerra reopened this Nov 22, 2024
@aschonfeld
Copy link
Collaborator

aschonfeld commented Nov 26, 2024

@wbrguerra I know this isn't exactly what you asked for, but would this work? The expansion links would only show up if there is a horizontal scrollbar present.

row_expander.mov

@wbrguerra
Copy link
Author

@aschonfeld This is a great compromise. Is there a limit with the number of characters displayed? What does navigation look like if there are multiple columns with values that exceed 100+ characters? Is there a scroll bar present in the pop up?

@aschonfeld
Copy link
Collaborator

@wbrguerra does this look alright?

long_strings_expansion.mov

@wbrguerra
Copy link
Author

@aschonfeld This looks amazing!

aschonfeld added a commit that referenced this issue Dec 2, 2024
aschonfeld added a commit that referenced this issue Dec 3, 2024
@aschonfeld
Copy link
Collaborator

@wbrguerra I have just released v3.16.0 to pypi (will be on conda-forge shortly) with this functionality. I also added the ability to turn off this feature using the app configuration or by passing the hide_row_expanders=True parameter to dtale.show. You can also do it using the UI and clicking the checkbox show here:

Screenshot 2024-12-03 at 4 00 00 PM

Let me know if you have any issues.

Also, whenever you get a sec do you mind tossing your ⭐ on the repo? Thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants