:: Forum >>

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


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.

Tuesday, March 22, 2005
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.
Thursday, March 24, 2005
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.
Thursday, March 24, 2005
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.

Thursday, March 24, 2005
This link works for me:
Thursday, March 24, 2005

This topic is archived.

Back to support forum

Forum search