3.2.0

Dynamic link for a cell .. Data is being pulled from database (Urgent plz)

Hello,

I am retreving the data from the database into an array dynamically and then writing the array to the grid.

Based on the value from the database some cells in the column need to be a clickable links and others do not.

var myData = [
<webm:loop variable="/queryoutput/results">
[

"<a target=\"top\" href=\"xx_sold.jsp?Id=<webm:value variable="Id" /> \"> <webm:value variable="Id" /> </a>",

"<webm:value variable="Name" />", "APP",
"<webm:value variable="Sold" />",

"<a target=\"top\" href=\"xx_sold_correct.jsp?Id=<webm:value variable="Id" /> \"> <webm:value variable="Status" />
</a>"
],
</webm:loop>
["","","","" ]
];

Can someone please provide with some idea.

Thanks




krv
March 21,

This topic is archived.

See also:


Back to support forum