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

Event for table navigation before/after first/last row? #1041

Open
jsumners-nr opened this issue Oct 17, 2024 · 1 comment
Open

Event for table navigation before/after first/last row? #1041

jsumners-nr opened this issue Oct 17, 2024 · 1 comment

Comments

@jsumners-nr
Copy link

If we have a table backed by a TableContent that provides just enough rows for the table's visible dimensions, is there a way to detect when an attempt is made to navigate to an off-screen row? It doesn't seem like the SetSelectionChangedFunc receives any events in such a case.

@jsumners-nr
Copy link
Author

I just discovered #248 and the opening post is describing my exact use case. I am working on a log file explorer that will "index" the logs into an sqlite database. Various features will require getting new rows to display in the view. Doing this in memory is fine for the basic use, but I have seen some very large log files that this tool will be intended to work with (as in 3+ GiB). So at some point I'm going to need to window the data.

For what it's worth, I'm already making use of TableContent to facilitate presenting the data.

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

1 participant