Hi Jim,
Am 07.12.2006 um 01:16 schrieb Jim Hunter:
> Thanks for the example. I used it verbatim to see if I could get
> a nice little hotlink to work and it 'looks' correct but nothing
> happens when you click the link. The function updateDataCellElement
> never gets called and this is where is looks like it's setting up
> the onclick event.
Not quite. The onclick is set up initially in _getContentHtml.
updateDataCellElement is only called when you scroll the table.
> I examined the rendered DOM and I do see an A tag and it has the
> appropriate onclick event and code so I am just wondering what else
> I am missing? Do I have to make changes to the Table properties to
> allow for this? Right now, the selection is on the entire row, does
> it need to only be on the cell? There must be some tiny little
> thing that I am overlooking, any thoughts?
I forgot that I had modified the table appearance to hide the focused
cell indicator (since I don't need it in my application):
var theme = qx.manager.object.AppearanceManager.getInstance
().getAppearanceTheme();
var apar = theme._appearances['table-focus-indicator'];
apar.state = function() {return {zIndex: -1}};
When the focus indicator is shown, it "eats" the click so that it
never reaches the link. I don't know a quick solution to make it work
while the focus indicator is visible, sorry.
Regards,
Andreas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel