OK thanks Derrel


--
Nathan Hadley
www.celcat.com
Tel: 024 7646 9930

CELCAT is the trading name of Corbett Engineering Ltd,
a limited company registered in England and Wales with
company number 1448722. VAT number: 418696219.
Registered office: 21-23 Mercia Business Village,
Torwood Close, Coventry, CV4 8HX, United Kingdom



________________________________

From: Derrell Lipman [mailto:[email protected]]
Sent: 14 May 2009 13:41
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] Problem when changing a table model



On Thu, May 14, 2009 at 7:05 AM, Nathan Hadley <[email protected]>
wrote:

Correction to this, going from 4 columns to 3 works fine, going back to
4 from 3 doesn't.

Unfortunately, you can't get there from here. The comment in the
documentation for qx.ui.table.model.Abstract.setColumns() puts it like
this:

     * Note: You can not change the _number_ of columns this way.  The
number
     *       of columns is highly intertwined in the entire table
operation,
     *       and dynamically changing it would require as much work as
just
     *       recreating your table.  If you must change the number of
columns
     *       in a table then you should remove the table and add a new
one.

You can make columns invisible (i.e. hide them) so you may be able to
work around the problem that way.

Derrell




------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to