Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Method to get selection DataTable #4310

Closed
r-barnes opened this issue Mar 18, 2024 · 1 comment
Closed

Method to get selection DataTable #4310

r-barnes opened this issue Mar 18, 2024 · 1 comment

Comments

@r-barnes
Copy link

Is there a method that tells you what row/column/cell is current selected by a DataTable?

I know there are events that track this, but I feel like there should be a method or property to determine this on the fly.

@TomJGooding
Copy link
Contributor

Perhaps you're looking for the cursor_coordinate?

https://textual.textualize.io/widgets/data_table/#cursors

@Textualize Textualize deleted a comment from github-actions bot Mar 18, 2024
@Textualize Textualize locked and limited conversation to collaborators Mar 18, 2024
@davep davep converted this issue into discussion #4311 Mar 18, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants