Hi,

In my qooxdoo desktop app I have a pane with a virtual table
implemented with "qx.ui.Table" and "qx.ui.table.model.Remote"
which contains log messages received from the server.

The server can send new log messages at any time, which
should always be inserted at the first row of the table
as the messages are sorted by most recent date to older.

As the user could have scrolled the log window to any
position, I would like, when a new message arrives,
to scroll the log window to its beginning and trigger
a reloadData().

My first question is how I can force a reloadData()
for the beginning of the virtual table ?


As most of the time the log window is showing the
most recent messages (the user has not scrolled it
down), it would be more efficient, in this case, to simply
insert the new received message in the table model
and render the table, without sending a request
to the server for data which is already in the model.
I didn't find any function in 'qx.ui.table.model.Remote',
to insert a row in the model, so it seems not be
currently possible, correct ?


Best regards,
Elemer






------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to