Thank you Dietrich, for this tip, that seems to work well.

Dietrich Streifert wrote:
> 
> Hi Thorsten,
> 
> I allways used this to determine the double-clicked row:
> 
>         var row =
> this.getSelectionModel().getSelectedRanges()[0].minIndex;
> 
> Looks a little complicated but may be independent from the focus handling.
> 
> And yes ;-) continue posting here. We follow all your steps ;-)
> 
> 
> westor schrieb:
>> As suggested, I post my last question here again.
>> I'm not shure, if I understand well.
>> To show a product in the iframe, if one performs a doubleclick, I pick up
>> the Data of invisible column 0.
>> This is what I do:
>> table.getPaneScroller(0).addEventListener('dblclick', function()
>> {
>>      var row = this.getFocusedRow();
>>      var XLink = this.getTableModel().getValue(0, row);
>>      
>>      if1.setSource(XLink); // IFRAME
>>      w.open();
>> },table);
>> And this seems to work in IE, not in FF. Isn't this the right way?
>>
>>
>> Fabian Jakobs-2 wrote:
>>   
>>> 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.
>>>
>>>     
>>>> 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
>>>
>>> -- 
>>> 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, Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
>>> Aufsichtsratsvorsitzender: Michael Scheeren
>>>
>>>
>>> -------------------------------------------------------------------------
>>> 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
>>>
>>>
>>>     
>>
>>   
> 
> -- 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/table-row-select-bug-%28FF%29-and-other-%28smaller%29-probs-with-online-app-tf4391216.html#a12676403
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


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

Reply via email to