Hi,

i have ported my app to the current svn and now the problem is gone.
The icons are properly rendered,

thanks
Marcel


MartinWittemann schrieb:
> Which version of qooxdoo do you use? I just checked exactly your described
> bug and it's working in the current development version:
>
> http://demo.qooxdoo.org/devel/playground/#%7B%22code%22%3A%20%22function%2520createRandomRows(rowCount)%2520%257B%250A%2520%2520var%2520rowData%2520%253D%2520%255B%255D%253B%250A%2520%2520var%2520now%2520%253D%2520new%2520Date().getTime()%253B%250A%2520%2520var%2520dateRange%2520%253D%2520400%2520*%252024%2520*%252060%2520*%252060%2520*%25201000%253B%2520%252F%252F%2520400%2520days%250A%2520%2520var%2520nextId%2520%253D%25200%253B%250A%2520%2520for%2520(var%2520row%2520%253D%25200%253B%2520row%2520%253C%2520rowCount%253B%2520row%252B%252B)%2520%257B%250A%2520%2520%2520%2520var%2520date%2520%253D%2520new%2520Date(now%2520%252B%2520Math.random()%2520*%2520dateRange%2520-%2520dateRange%2520%252F%25202)%253B%250A%2520%2520%2520%2520rowData.push(%255B%2520nextId%252B%252B%252C%2520Math.random()%2520*%252010000%252C%2520date%252C%2520%2522http%253A%252F%252Fresources.qooxdoo.org%252Fimages%252Flogo.gif%2522%2520%255D)%253B%250A%2520%2520%257D%250A%2520%2520return%2520rowData%253B%250A%257D%250A%250A%250A%252F%252F%2520window%250Avar%2520win%2520%253D%2520new%2520qx.ui.window.Window(%2522Table%2522).set(%257B%250A%2520%2520layout%2520%253A%2520new%2520qx.ui.layout.Grow()%252C%250A%2520%2520allowClose%253A%2520false%252C%250A%2520%2520allowMinimize%253A%2520false%252C%250A%2520%2520contentPadding%253A%25200%250A%257D)%253B%250Athis.getRoot().add(win)%253B%250Awin.moveTo(30%252C%252040)%253B%250Awin.open()%253B%250A%250A%252F%252F%2520table%2520model%250Avar%2520tableModel%2520%253D%2520new%2520qx.ui.table.model.Simple()%253B%250AtableModel.setColumns(%255B%2520%2522ID%2522%252C%2520%2522A%2520number%2522%252C%2520%2522A%2520date%2522%252C%2520%2522Boolean%2522%2520%255D)%253B%250AtableModel.setData(createRandomRows(10000))%253B%250A%250A%252F%252F%2520make%2520second%2520column%2520editable%250AtableModel.setColumnEditable(1%252C%2520true)%253B%250A%250A%252F%252F%2520table%250Avar%2520table%2520%253D%2520new%2520qx.ui.table.Table(tableModel).set(%257B%250A%2520%2520decorator%253A%2520null%250A%257D)%250Awin.add(table)%253B%250A%250Avar%2520tcm%2520%253D%2520table.getTableColumnModel()%253B%250A%250A%252F%252F%2520Display%2520a%2520checkbox%2520in%2520column%25203%250Atcm.setDataCellRenderer(3%252C%2520new%2520qx.ui.table.cellrenderer.Image(10%252C%252010))%253B%250A%250A%252F%252F%2520use%2520a%2520different%2520header%2520renderer%250Atcm.setHeaderCellRenderer(2%252C%2520new%2520qx.ui.table.headerrenderer.Icon(%2522icon%252F16%252Fapps%252Foffice-calendar.png%2522%252C%2520%2522A%2520date%2522))%253B%250A%22%7D
>
> Best,
> Martin
>
>
> Marcel Ruff wrote:
>   
>> I don't know of any.
>>
>> Marcel
>>
>>
>> MartinWittemann schrieb:
>>     
>>> Hi,
>>> is there already a bug report for that issue? I tried to find it in out
>>> bugzilla but without success.
>>> Best,
>>> Martin
>>>
>>>
>>> Anaël Ollier wrote:
>>>   
>>>       
>>>> Hi,
>>>> I had the same problem and not time to waste so I switched to a HTML
>>>> renderer instead. It's certainly not the best but it worked.
>>>> I can confirm this issue and I'm also waiting for a fix if possible!
>>>>
>>>> Regards
>>>> --
>>>> Anaël
>>>> [email protected]
>>>> The eyeos Project | www.eyeos.org | Web Desktop & Cloud Computing
>>>> Operating
>>>> System
>>>>
>>>>
>>>> 2009/11/23 Marcel Ruff <[email protected]>
>>>>
>>>>     
>>>>         
>>>>> Hi,
>>>>>
>>>>> I'm using a
>>>>>
>>>>>   this.tableQX  = new qx.ui.table.Table(this.tableModel);
>>>>>
>>>>> in some columns it contains icons, declared with
>>>>>
>>>>>    qx.ui.table.cellrenderer.Image(width, height)
>>>>>
>>>>> On table loading (inside a qx.ui.window.Window), the icons are not
>>>>> displayed.
>>>>>
>>>>> As soon as I click on a column label for sorting, the icons are
>>>>> suddenly visible.
>>>>>
>>>>> I have tried hard to help the table a bit like this:
>>>>>
>>>>>  var tableModel = this.tableModel;
>>>>>  var tableQX = this.tableQX;
>>>>>
>>>>>  // dummy code trying to trigger refresh: no success
>>>>>  qx.event.Timer.once(function(e) {
>>>>>     // intermediate sorting
>>>>>     tableModel.sortByColumn(0, true);
>>>>>     tableModel.sortByColumn(col, !ascending);
>>>>>     tableQX.updateAppearance();
>>>>>     tableModel.clearSorting();
>>>>>  },this,50);
>>>>>  qx.event.Timer.once(function(e) {
>>>>>     // wanted sorting
>>>>>     tableModel.sortByColumn(col, ascending);
>>>>>     tableQX.updateAppearance();
>>>>>  },this,1000);
>>>>>
>>>>>
>>>>> but nothing helps, only the above mentioned mouse click displays the
>>>>> icons properly.
>>>>>
>>>>> Any suggestion?
>>>>>
>>>>> Thanks
>>>>> Marcel
>>>>>       
>>>>>           
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day 
>> trial. Simplify your report design, integration and deployment - and focus
>> on 
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>>     
>
>   



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to