Hi,

this looks like a problem with our image widget. We have done a couple 
of fixes to the image class since qooxdoo 0.8.2. Do you have a chance to 
test with the latest trunk?

Best Fabian
> I'll try to keep this simple. I've got my own ColumnModel and added a method
> for adding a new column. I couldn't just extend the current one because I
> needed access to the internal data arrays. Using the visible/hidden thing
> isn't really good enough in my case. We've got tons of columns. Anyway, it
> wasn't a big deal. I just splice the internal arrays, fire the events and
> everything works great. I had been using custom data cell reneders and using
> the defaults for header renderer and editing.
>
> Now, the problem I'm having is when specifying an Icon header cell renderer.
> During the creation of the Image and applying its source in HeaderCell I get
> an error because this.getContentElement() in the Image is still undefined.
> It's line 227 in ui.basic.Image. The _styleSource method and I'm using 0.82.
> Style source seems to get called a number of times, if I simply add a check
> for undefined and return it works. Am I doing something really crazy or is
> this just a minor bug? Just to reiterate what I'm doing. In a table that's
> already created and displayed. I'm adding a column basically like this in my
> ColumnModel:
>
> var map = {
>   width: 50, 
>   dataRenderer: customDataRenderer, 
>   headerRenderer: new qx.ui.table.headerrenderer.Icon("/iconpath");
> }
>
> this.__columnDataArr.splice(modelPos, 0, map);
> this.__overallColumnArr.splice(visPos, 0, modelPos);
> this.__visibleColumnArr.splice(visPos, 0, modelPos);
>
> // invalidate visibility map
> this.__colToXPosMap = null;
> this.fireDataEvent("orderChanged", data);
> this.fireDataEvent("visibilityChangedPre", visData);
> this.fireDataEvent("visibilityChanged", visData);
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[email protected]

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


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to