Hi, Table gurus,

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.

Thanks,

Christian
Title: qooxdoo » Demo Browser

A table with virtual scrolling, model-view-controller, renderers, editing, sorting, column resizing, column reordering, column hiding.

-------------------------------------------------------------------------
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