Fabian,
        I know a bug in Table (0.7.4  Version).
I am not sure whether anyone already captured in Bug Tracking System.
Just thought of telling what I observed and how do I handle that issue.

The bug is in the HTML Anchor tag rendering in the table cell.
If I want to have a Href link on a cell Item, it does not work itinially.
After referring the mailing list, I found out that you need to set a custom 
renderer as mentioned below and 
Set that renderer to cell
tcm.setDataCellRenderer(2, new my.ui.table.cellrenderer.HTMLCellRenderer());
-----------------------------------------------------------------
/** 
 * Cell Renderer to display the HTMl content without escaping.
 * 
 */
qx.Class.define("my.ui.table.cellrenderer.HTMLCellRenderer",
{
  extend:qx.ui.table.cellrenderer.Default,

  construct:function()
  {
    qx.ui.table.cellrenderer.Default.call(this);
  },
 
  members:
  {
    _getContentHtml:function(cellInfo)
    {
      return this._formatValue(cellInfo);
    }
  }
});
-----------------------------------------------------------------

This displays the link now. But the click action does not work both in Mozilla 
and IE.

So, I handle the click action through the "onclick" event of the table.

-----------------------------------------------------------------
this.tableWidget.addEventListener("cellClick", function(evt){
        var column = evt.getColumn();                           
        var row = evt.getRow();
        if (column == 2)
        {                                       
                this.invokeCellAction1();                       
        }
                                
}, this);
-----------------------------------------------------------------

Thanks,
Raffi


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fabian Jakobs
Sent: Wednesday, July 30, 2008 11:45 PM
To: qooxdoo Development
Subject: [qooxdoo-devel] Bughunting day is over

Hi,

a big thank you to everyone finding and reporting table bugs today. I didn't 
expect to get so much really helpful feedback. Most of the reported bugs are 
fixed. I'll work on the remaining bugs including the problem with the 
scrollbars tomorrow. I have just published the current version of the demos to 
demo.qooxdoo.org so you can verify the fixes. 
Feel free to report any further issues with the table.

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, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK & win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to