These methods are a part of the column model's resize behavior:

var tcm = table.getTableColumnModel();
var resizeBehavior = tcm.getBehavior();
resizeBehavior.setMinWidth(2, 250);


Regards,
Daniel

skar karthikeyan schrieb:
> 
> 
> On Thu, Oct 1, 2009 at 9:25 PM, Daniel Wagner <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     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.
> 
> 
> Thanks for the tips. I tried resize on the individual tables and it 
> works fine :) As for min width, I'm setting setColumnWidth in the resize 
> handler for each of the columns. I don't find any setMinColumnWidth 
> method for the table column model?!
> 
> cheers,
> skar.
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to