3.2.0

Individual cells have links, not the whole column

In my situation, I have individual cells that have links rather than the whole column. In other words, the column may be for URLs, but not all of the cells are filled in. If I set up the whole column to have links, the empty cells will still have a link, but will go to the current page (like a refresh). I would rather show the empty cells not as a link (mouse pointer does not change and clicking does nothing). Any ideas?
Dyme
March 14,
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="")
Alex (ActiveWidgets)
March 17,
That seems to work only if the first item is not null. If the first item of that column is null, then it appears to turn off the link completely.
Dyme
March 18,
Sorry, my bad. That works great wherever the null is (from my limited testing). I appreciate it. With the empty field though, it still will sort incorrectly . . .
http://www.activewidgets.com/javascript.forum.3806.1/serious-sorting-bug-but-should.html

Any chance of helping with this???
Dyme
March 18,

This topic is archived.

See also:


Back to support forum