- Michael Hartnett
- PowerServer Mobile (Obsolete)
- Friday, 30 November 2018 04:02 PM UTC
Hi All,
I am trying to implement a lazy loading type retrieval of data on Appeon Mobile. I am using the ROW OFFSET option on my SQL Select which works great, but I have to then tap a button to do the next retrieve. This button is visible at the end of the DW on the mobile device each time I scroll to the bottom (as long as there are more records to display).
I would like to change this to load the next set of data as soon as the last row on the DW is visible after scrolling, but the ScrollVertical event is unsupported on Appeon Mobile!
The following code works great on Desktop:
long ll_numrows
string ls_firstrow, ls_lastrow
ll_numrows = This.RowCount()
ls_lastrow = This.Object.Datawindow.LastRowOnPage
st_1.text = ls_lastrow
if ll_numrows = long(ls_lastrow) then
of_get_data()
of_set_total()
end if
Has anyone else tried to implement this on Appeon Mobile, or any advice on how it might be done?
Thanks
Michael
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.