[Seaside] TableSelectable

Ron Teitelbaum Ron at USMedRec.com
Mon Oct 23 13:47:50 UTC 2006

Hi Cédrick,

I think it is possible if you return false from onClick attached to an
anchor on the link.

<a ... onClick: "document.location='...'; false">  This would stop the
onClick from executing in the table row. 

Could you give me some more info on what you did for default click?


> From: Cédrick Béler
> Sent: Monday, October 23, 2006 6:35 AM
> > The problem I have is that clicking on the row allows to select (or
> > whatever else) but if you click on a data (table cell) that has an
> > anchor (or action) associated to it, then the selection is also done
> > which is not always what we want. I don't know how to avoid that.
> >
> I solved that with a default onClick (to select the row) on table cells
> of the row that have no clickAction associated to it. It works nice.
> But do you know, if there is a possibility (CSS or javascript) to
> dissable a parent action.
> For instance, we associate a onClick: action that selects the row (add
> it in a selection var) ans one cell contains an anchor. Is it possible
> to click on the anchor, without selecting the row ?
> Thanks
> Cédrick
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the Seaside mailing list