> That's likely what the 25 or so repeated calls to fetch the row count were
> previously ensuring. I'm not sure that with the current "fix" that it's
> possible. Maybe the "fix" should be configurable on/off?
>   
The previous 25 calls were all done on app launch itself, which isn't
right either, as data can't change that fast, even if that fast,
shouldn't matter to update that frequently. That was probably a bug for
sure.
>   
> If you cause a scroll (page up/down), does new row count get loaded? If not,
> the current "fix" isn't.
>
> "Table" is a wonderful widget and has served us well for a number of years,
> but it really needs a "version 2" rewrite with current usage and experience
> in mind. Fabian's virtual widgets will likely replace Table eventually
> rather than a V2 of Table, though.
>   
Yup, fetching the new row count should move the scroll bar to the right
place. So, if user is on row 20 out of 200 and then when he scrolls to
the next page by pressing down arrow for 1 block size or by pressing
page down, then new row count should also be fetched. Now, if there are
100 more rows, user will be 1/3 of the table down in the scroll bar
rather than just 20 rows down.

Also, whenever data is fetched, a timer should be reset and when timer
runs out, it should fetch the latest row count and adjust data/scroll
bar position accordingly. The timer interval should be an option too. Of
course, this whole auto-refresh, row count refresh etc should be on/off
via config settings, as most users won't be needing that, but in places
where it's needed, it can be used.

Virtual widgets sound like an exciting and fast idea, with dom elements
being reused, from what I understand. It could have other benefits too
which go above my head :)

cheers,
skar.

-- 
--
The life so short, the craft so long to learn. 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to