href link in table cell does not work on click

View: New views
2 Messages — Rating Filter:   Alert me  

href link in table cell does not work on click

by MarcelRuff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

i have a qx.ui.table.Table with a qx.ui.table.cellrenderer.Html
and in this a href tag:

  <a href='http://google.com' target='_blank'>Google</a>

The link is displayed blue and underlined as expected
and is properly displayed in the firefox status bar (on mouse over).

But when I click on it nothing happens.

What could be the reason for this?
What is a proper way to have a link in a table cell?

Thank you
Marcel

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: href link in table cell does not work on click

by Jonathan Weiß-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello Marcel,


my guess would be that the table cell catches the click event and stops it
so that is does not reach the link... You could add a cellClick listener and
check if the table cell with your link is clicked. In this case you can
perform window.open("http://www.google.com").

Or try to set showCellFocusIndicator to false, perhaps then the click will
reach the link.

Please let me know if one of this solutions worked for you.

Cheers
Jonathan

-----
Jonathan Weiß
Framework Engineer

http://mysterycity.de/blog Blog  -  http://www.linkedin.com/in/jonathanrass
LinkedIn  -  http://www.xing.com/profile/Jonathan_Weiss5 XING
--
View this message in context: http://n2.nabble.com/href-link-in-table-cell-does-not-work-on-click-tp3921223p3946359.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel