Open derrell opened 13 years ago
Referencing this guide, http://manual.qooxdoo.org/1.5/pages/widget/table_remote_model.html, I may need an RPC that returns the row count from the database. The only way I can think of doing this with the currently exposed RPCs is to get the whole table and use the count from that, which defeats the purpose a bit. Unless I'm misunderstanding the purpose of the _loadRowCount function, which is entirely possible. Perhaps @derrell or @reedspool could clarify this for me?
On Sat, Jul 23, 2011 at 20:27, adorettic < reply@reply.github.com>wrote:
Referencing this guide, http://manual.qooxdoo.org/1.5/pages/widget/table_remote_model.html, I may need an RPC that returns the row count from the database. The only way I can think of doing this with the currently exposed RPCs is to get the whole table and use the count from that, which defeats the purpose a bit. Unless I'm misunderstanding the purpose of the _loadRowCount function, which is entirely possible. Perhaps @derrell or @reedspool could clarify this for me?
Yes, you understand it perfectly. To use the remote model, you need two remote requests: one to get the row count, and the other to retrieve a specified set of rows.
Let's talk about what your specific needs are, and I or Reed will implement it for you.
Derrell
Postponed to the future. Marked as enhancement and removed assignee.
There are going to be too many applications for the entire application list to be loaded into memory at one time, for the Application Management module. This module should be altered to use qx.ui.table.model.Remote instead of qx.ui.table.model.Simple so that only those records near the ones that are displayed are actually fetched.
Assigned to @adorettic