3.0.5

how to check condition in array to make a cell clickable link.

Hello

I am retreving the data from the database in to an array.
and then displaying the array into grid.

say like [col1, col2, col3, col4]

based on the value of col4 (if it is not null) i need to create a link for col1 cell other wise just display col1 data.

I need it very badly..
please help me, suggest me.

thanks..
kris
March 22,
I think this is answered here in the forum. I had a similar problem and found the answer here. I am not at work so I cannot pull out the code.
Andreas
March 24,
I think this is the answer: /javascript.forum.2331.6/creating-a-link-based-on.html

For those cells you do not want a link your function needs to return null, when I remember correctly.
Andreas
March 24,
Hi Andreas

thanks for the response, the link u mentioned is not working.
can you please help me by giving the code, any other favor.

Waiting for your response.

thanks
kris
March 24,
This link works for me:
http://www.activewidgets.com/javascript.forum.2331.6/creating-a-link-based-on.html
Dyme
March 24,

This topic is archived.

See also:


Back to support forum