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

Feature Request: Row Action Events #37

Open
bymoye opened this issue Aug 18, 2024 · 3 comments
Open

Feature Request: Row Action Events #37

bymoye opened this issue Aug 18, 2024 · 3 comments

Comments

@bymoye
Copy link

bymoye commented Aug 18, 2024

Hello, is there any plan to add row operation events? For example, long press, click, that is, GestureDetector function is put into the row?

@tomasweigenast
Copy link
Owner

At this moment, you can listen when a row changes. Also, you can select the row and get the list of selected rows. Currently, there is no plan for row action events, like a GestureDetector in the row. The way paged_datatable is built makes it a little bit difficult to "just put a GestureDetector" and also I'm working on collapsible/expansible rows, so, after that feature is ready, I can consider start working on this issue, so I'll keep this opened.

@bymoye
Copy link
Author

bymoye commented Aug 18, 2024

The existing function is to select through the selection box and then operate. But there is no way to directly perform it by long pressing, etc. Maybe I can submit a PR for reference.

@tomasweigenast
Copy link
Owner

I'm not thinking about how to implement this because a long press would be possible but without an ink splash, due to how paged_datatable implements fixed columns.

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

When branches are created from issues, their pull requests are automatically linked.

2 participants