Fabian Jakobs schrieb:
westor schrieb:
If I'm in the near of Karlsruhe, I will do that :-)
But, it was to early to be satisfied :-/
I havn't looked close enough to see what happens in FF. Normally, if you
perform a doubleclick in a row, a line with the currently selected product
should open. That's the way it runs in IE. Not so in FF. The correct line is
marked, but another Product is selected.
I use something like this to detect the row:
table.getPaneScroller(0).addEventListener('dblclick', function() {
var row = this.getFocusedRow();
...
I think this are not table bugs.
First I suspect that this issue is also present in IE. Because of
sorting the selected row may not be the same as the index in you table
data. You have to transform the row index to the table data index. The
simple table model does it with the method "getRowData(row)".
Second double click events attached to the table scroller will also be
fired if the table header is double clicked. Since the public table API
does not provide a clean way to detect double clicks on table rows, I
have added a "rowdblclick" event to the table scroller.
@Fabian:
Wouldn't it be more natural to have the event in qx.ui.table.Table?
So we don't need to have this table.getPaneScroller calls? The code gets
allot complicated because I allways have to walk through the pane
scroller array.
I have two more issues: I have a renderer, working in the release, which
wraps the long lines, it doesn't do it's job now. Maybe I can find for
myself, why.
And: The columns are not sortable anymore. Maybe that's why I use my own
class, derived from qx.ui.table.model.Simple, overwriting the sort?
If I click on the sort header in your appplication I get a JavaScript
error in your model. I suspect there is the problem. I have recently
converted the table.*.Basic classes to interfaces. Maybe that is the
problem. For the next release the migration scripts will take care of that.
Hope that helped,
Best Fabian
--
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel