Hi Nathan,

I'm not a table expert, but as far as I know it isn't possible to change 
a model with less columns. A workaround could be to set the not needed 
columns to invisible, so the model has always the same number of columns.

Cheers,
Chris

Nathan Hadley schrieb:
>
> Hello all,
>
>  
>
> I am currently using a table widget whose table model (with different 
> column headings) I need to set dynamically depending on what options 
> the user has chosen.
>
>  
>
> I have a function to return the correct table model, but I am 
> experiencing the following error when moving to a model with less columns;
>
>  
>
> this.__columnMenuButtons[data.col] is undefined
>
> http://localhost:8080/qooxdoo-sdk/framework/source/class/qx/ui/table/Table.js
>
> Line 1359
>
>  
>
> My question is, am I going about changing the table model correctly 
> (in much case this is a bug?) or is there a better way to achieve this?
>
>  
>
> TIA
>
> --
> **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
>
>  
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> 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
>   


-- 
Christian Schmidt
Software Engineer
Core Development :: Web Technologies

1&1 Internet AG
Ernst-Frey-Str. 9
76135 Karlsruhe, Germany
http://www.1und1.de 

Amtsgericht Montabaur / HRB 6484
                                                        
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen

Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to