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). Fabio 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
