Jorge M A Well-Known Member Licensed User Longtime User Nov 30, 2019 #1 Hello Everybody. How can I detect the ScrollChange in a TableView? I have done many searches and tried several methods and examples that I find in the forum, but most of them refer to the CLV. I've even tried to analyze the code in the Flexible Table. All without success for what I require, for my lack of knowledge in java. I have a slight advance in detecting which range of lines are visible, in the SelectedIndex change. My final objective is to emulate the behavior of the Data Browser in DB Browser (SQLite). (No Filter Row). Thank You in advanced.
Hello Everybody. How can I detect the ScrollChange in a TableView? I have done many searches and tried several methods and examples that I find in the forum, but most of them refer to the CLV. I've even tried to analyze the code in the Flexible Table. All without success for what I require, for my lack of knowledge in java. I have a slight advance in detecting which range of lines are visible, in the SelectedIndex change. My final objective is to emulate the behavior of the Data Browser in DB Browser (SQLite). (No Filter Row). Thank You in advanced.
Erel B4X founder Staff member Licensed User Longtime User Dec 1, 2019 #2 Why aren't you using B4XTable? The user will be able to search the database instead of scrolling 1M items. Upvote 0
Why aren't you using B4XTable? The user will be able to search the database instead of scrolling 1M items.
Jorge M A Well-Known Member Licensed User Longtime User Dec 1, 2019 #3 Thank You @Erel. Erel said: Why aren't you using B4XTable? Click to expand... Because I understand that BXTable is based on "pages". At this point, the application I am developing must provide the "Review Results" functionality, where the user can even scroll up or down from row to row. By pagination, two related lines can be separated according to page size, making this visual review problematic. In case what I am trying is not possible, I would appreciate any suggestions. Upvote 0
Thank You @Erel. Erel said: Why aren't you using B4XTable? Click to expand... Because I understand that BXTable is based on "pages". At this point, the application I am developing must provide the "Review Results" functionality, where the user can even scroll up or down from row to row. By pagination, two related lines can be separated according to page size, making this visual review problematic. In case what I am trying is not possible, I would appreciate any suggestions.
ThRuST Well-Known Member Licensed User Longtime User Dec 9, 2019 #4 @Jorge M A You might want to check the verical scroll value, if it changes then you'll know.. a timer can be useful for this. Just my 2 cents - and as Erel said, a powerful search function is the way to go. Upvote 0
@Jorge M A You might want to check the verical scroll value, if it changes then you'll know.. a timer can be useful for this. Just my 2 cents - and as Erel said, a powerful search function is the way to go.
Jorge M A Well-Known Member Licensed User Longtime User Dec 9, 2019 #5 Thank You @ThRuST ! I'm currently basing it on this code: https://www.b4x.com/android/forum/t...hanged-event-for-lazyload.100657/#post-632654 Thank you @xulihang. And this one: https://www.b4x.com/android/forum/threads/visible-rows-in-a-control.41719/#content Thank you @Daestrum. And I'm making good progress. I've never liked Timers... Upvote 0
Thank You @ThRuST ! I'm currently basing it on this code: https://www.b4x.com/android/forum/t...hanged-event-for-lazyload.100657/#post-632654 Thank you @xulihang. And this one: https://www.b4x.com/android/forum/threads/visible-rows-in-a-control.41719/#content Thank you @Daestrum. And I'm making good progress. I've never liked Timers...
ThRuST Well-Known Member Licensed User Longtime User Dec 9, 2019 #6 "I can't change time, but time can change me" - David Bowie Use Time:rs wisely Upvote 0