Hi again,

is the new function getRenderedWidget() accepted 
to be implemented
or will it be rejected? (just that I know if I need
to code a little workaround-pattern myself to resolve it):

/**
 * Returns the widget used to render the given cell. May return null if the
cell isn't rendered
 * currently
 */
getRenderedWidget : function(row, column) {

}

Thanks
Marcel


Marcel Ruff schrieb:
> Fabian Jakobs schrieb:
>   
>> All three issues should be fixed in rev. 18783.
>>   
>>     
> Fabian,
>
> thanks for the quick fix, id=2258 and id=2260 work now fine!
>
> But please reconsider your decision with the
> getCellWidget(e.getRow(), e.getColumn()) call
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=2259
>
> I think this method should remain available and be fixed.
>
> How should I apply an external event (from my messaging middleware)
> which for example changes the icon of the CellWidget?
> I need to maintain an own Hashtable for the currently used
> CellWidget to look it up.
>
> But this shouldn't be my task:
> Your Table-model knows it during it is displayed,
> but I don't know it. So it is natural that I can access it
> and change its text/icon/tooltip.
>
> Fabian:
> "In virtual widgets there is no one to one mapping of widgets to cells. 
> The same widget could be used to render different cells. For this reason 
> there will no replacement for the hidden method."
>
> -> If I access it by row/column to update the state it is perfectly 
> valid (and not in the pool).
>
> Thanks for your excellent support,
> Marcel
>
>
>   
>>>   
>>>     
>>>       
>>>> 2. Accessing a Cell-Widget fails for a spanned col/row:
>>>>      var widget = this.widgetCellSpan.getCellWidget(e.getRow(), 
>>>> e.getColumn());
>>>>    returns the Spacer.
>>>>    How can I access my Atom at this place by row/column?
>>>>    (my Atom Icon is visible and should exist).
>>>>   
>>>>     
>>>>       
>>>>         
>>> <http://bugzilla.qooxdoo.org/show_bug.cgi?id=2259>
>>>   


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;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