:: Forum >>

Link in single cells

I found some solutions on how to link cells in a single column.

Unfortunately the solutions I found in this forum are resulting now in linking all cells and if my functions does not return a link for a given cell, I get a undefined link.

Is there a way to just link some cells and have other cells in the same column just unlinked?

Thanks in advance for any hint or pointers.


BTW: The ActiveWidgets Grid is a great library! I started this morning doing some prototyping with it and everyone in my company I showed the results is just blown away.
Andreas
Thursday, March 17, 2005
I posted the same question a few days ago and unfortunately have not found a solution nor have I got a response. :-(
Dyme
Thursday, March 17, 2005
Oops, I meant to give you the link too, sorry.
http://www.activewidgets.com/javascript.forum.3848.0/individual-cells-have-links-not.html
Dyme
Thursday, March 17, 2005
I just found a simple solution, copy it here as well:

possible solution is to return null from your data/link property (not empty string or 'undefined'). null is a special value which removes href (or any other) attribute completely (instead of producing href="")

hope this helps
Alex (ActiveWidgets)
Thursday, March 17, 2005
Thank you very much! That was exactly what I was looking for.
Andreas
Friday, March 18, 2005

This topic is archived.


Back to support forum

Forum search