Hi Fabio,
> Hi,
>
> I just needed a quick-and-dirty solution for this problem, so I patched the 
> FocusIndicator using a Mixin. I am now adding a CanvasLayout with four 
> Terminators, each displaying one border. The height of the FocusIndicator is 
> set 
> to 0, its Border to null. The only problem is that the CellEditor is also 
> added 
> to the FocusIndicator, but when it's height is 0, the background of the input 
> is 
> transparent. So one sees both the cell content and the input's content. I had 
> to 
> patch the addState/removeState methods so that I can set the correct height 
> during editing.
>
> As I said, quick and dirty, but might probably fail when using other 
> appearances 
> than the one I use. I think that's one correct solution though (using 4 
> terminators, I mean).
>   
This is exactly what I had in mind :-) The only way to allow proper 
mouse events on table cells is to never put the focus indicator above 
the cells. Could you add a bugzilla entry for this issue, so once we 
touch the table again for the 0.8.x release, we remember to rework the 
focus indicator?

Best Fabian


>
>
> Fabian Jakobs wrote:
>   
>> Hi Christian,
>>     
>>> Hi,
>>>
>>> here is a very simple link cell renderer for 0.7.3. However, I can't 
>>> get it to do what it should.
>>>
>>> 1) I tried to use the clazz.stylesheet / _getCellClass way of styling 
>>> the link, however, it didn't render as I could see with a dom 
>>> inspector. I ended up including the style information manually. What's 
>>> wrong here?
>>>       
>> This should work. I would have to take a look at the code to see what is 
>> going wrong.
>>
>>     
>>> 2) '<a href="javascript:void()" onclick="window.open(\'' + 
>>> cellInfo.value + '\');";'); as HTML content doesn't work, either. Is 
>>> the onclick event caught before it can trigger the window.open()?
>>>       
>> The problem is how the cell indicator is rendered. It is a Terminator 
>> widget, which is positioned over the table cell and captures the mouse 
>> events. If you disable the focus indicator is should work. Maybe we have 
>> to rethink how the focus indicator is rendered.
>>
>> Best Fabian
>>
>>
>>     
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to