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

[DataTable] Allow multiple row (or column!) to be selected #1884

Open
geekscrapy opened this issue Feb 26, 2023 · 5 comments
Open

[DataTable] Allow multiple row (or column!) to be selected #1884

geekscrapy opened this issue Feb 26, 2023 · 5 comments

Comments

@geekscrapy
Copy link

Holding CTRL (or CMD on Mac) to select multiple rows would be fantastic. The additional behaviour of drag clicking etc would also help with logic users have learnt with usual GUI apps 👍

@github-actions
Copy link

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

@jlgerber
Copy link

I just hit this today. I wrote a browser in Textual that allows folks to query our asset management system for (you guessed it) assets and it displays the results in a DataTable. Now I want to be able to operate on selections.... this would be a great addition...

@geekscrapy
Copy link
Author

Thinking about it, can you set multiple rows to the "selected" colour with CSS to fake it? Along with testing if ctrl is pressed still

@grahamwoodward
Copy link

@geekscrapy did you get anywhere with this? I've been trying to implement something with Textual and I've been looking if selecting multiple rows is a thing

@geekscrapy
Copy link
Author

@geekscrapy did you get anywhere with this? I've been trying to implement something with Textual and I've been looking if selecting multiple rows is a thing

Nope, sorry!

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

3 participants