[Libreoffice-bugs] [Bug 90088] BASE: Basic instruction moveToInsertRow doesn't scroll to actual insert row if there are more than approximately 45 records in a grid control

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 19 16:16:06 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=90088

--- Comment #11 from Lionel Elie Mamane <lionel at mamane.lu> ---
There are two moveToInsertRow() in the API.
com::sun::star::sdbc::XResultSetUpdate::moveToInsertRow()
or
com::sun::star::form::runtime::FormFeature::MoveToInsertRow()

My guess is about the latter. 

(In reply to Alex Thurgood from comment #10)
> @Lionel : guessing that this has something to do with the way the UI
> displays a cached subset of the resultset which doesn't get refreshed ?

My guess is more that it is linked to the lazy loading of rows (when the UI
displays a "*" next to the number of rows to say that not all rows are loaded
yet). In that case, it can probably be worked around by:

moveToLast() to force loading of all rows, then only moveToInsertRow()

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210519/b8c81090/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list