This was just a hack.....!!!!
I thought table._afterAppear will be called after first time
you assigned tableModel to table. Then if you
must call table._afterAppear() after you call tableModel.setData(xxxx)...


lycovian wrote:
Thanks for the reply (and the info).  I replaced the ._afterAppear() hack to
get the scroll bars to work with the flushQueues but the scroll bar remains
hidden.  I wasn't sure this was the issue anyway but I had hoped.

Do you think this may be a bug?  The work around is easy enough but it seems
like this is a relatively core issue that should "just work".  DPerez, you
seem like you hang out here more than I, do you think I file a ticket?


dperez wrote:
Hi Lycovian,

I use successfully qx.ui.core.Widget.flushGlobalQueues(true)


lycovian wrote:
I've successfully subclassed a qx.ui.table.Table and packaged it with an
Ajax datasource.  Way cool!  I'm having problems with the vertical scroll
bar though, particularly getting the thumb to show up on the bar.
I've set the Ajax call to be asyncronous so the table is first painted
without data, a few seconds later (depending on the size of the dataset)
I populate the rowset.  When this happens though the vertical scrollbar
appears but no thumb is visible.  It appears the calculation for the
visiblity of the thumb is only occuring when the table is first show, in
my case with no data.  After I've added my row data though no thumb is
visible.  I've tested it on Firefox (1.5.0.4 Windows & Linux).

In the old days (Qooxdoo < 0.6) I could call a QxWidget.flushGlobalQueues
to have all visible widgets repaint themselves.  Is there something
similar in 0.6?  For now I'm calling the protected method ._afterAppear
to get the thumb to show appropriately on the scroll bar but I was
wondering if I was doing something wrong.





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to