Hi skar,

sure, you can listen to the application root's resize event. But 
depending on what you're trying to do, there might be a better way to 
achieve this. If you add your TabView to a container with a Canvas 
layout, for example, you could have it resize itself automatically if 
the viewport size changes. The individual tables could then also 
auto-resize themselves, so you could just listen to the table's resize 
event.

Additionally, setting a minimum width for some of the columns might be 
useful if the table width is dynamic.


Hope this helps,
Daniel

skar schrieb:
> Hi,
> 
> I've got an app with 3 tabs, each with a tab page containing a table. On
> browser resize, when reducing the width of the browser window, which
> event should I listen for?
> 
> Also, should I listen somewhere global like application root and then
> find which table is being displayed and resize the column widths? Or can
> I listen for the event in all the 3 tables and it'll fire only for the
> table being displayed currently?
> 
> cheers,
> skar.
> 

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to