On Tue, Feb 26, 2008 at 11:17 AM, cboulanger <[EMAIL PROTECTED]> wrote: > I am using a Table as a property editor (qooxdoo 0.7.2). Column 1 holds > the property names, column 2 the editable property data. When the user > double clicks on a cell in column 2, it becomes editable - that is > standard behaviour. I do not need a cell focus editor, in fact, the > focus indicator is preventing a custom link cell renderer from working > because clicks on hyperlinks are intercepted by the focus editor and > thus prevented. > > However, when I turn off the cell focus indicator by > "myTable.setShowCellFocusIndicator(false);", I get an error when > double-clicking on a cell: > > [Exception... "Component returned failure code: 0x80004005 > (NS_ERROR_FAILURE) [nsIDOMNSHTMLInputElement.selectionStart]" nsresult: > "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: > > http://localhost/bibliograph/qooxdoo-0.7-sdk/frontend/framework/source/class/qx/ui/form/TextField.js > :: anonymous :: line 1075" data: no] > > http://localhost/bibliograph/qooxdoo-0.7-sdk/frontend/framework/source/class/qx/ui/form/TextField.js > Line 1075 > > Is the cell focus indicator absolutely needed for editable tables or is > this a bug? I attach a modified demobrowser page which demonstrates the > behaviour.
Hi Christian, There was no attachment to your message so I can't try it. Have you tried pressing Enter or F2 while the cell has focus to begin editing? It'd be interesting to know if the problem occurs with keyboard commands or just with mouse clicks. The error message you're getting seems to be in setSelectionLength() of a TextField. I'd need a backtrace to know much more, though. Derrell ------------------------------------------------------------------------- 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
