Hello everybody,
I need a help getting two hyper links in one table column.How do I do that?
I have posted the sample code below.In the following code I need to get two links in col6.Any help would be greatly appreciated.
Thanks
Venu
document.getElementById("temp").src="test.test_xml?puser_id="+vID;
gettestgrid(0);
}
function gettestgrid(p) {
try{
document.getElementById(''test_container'').style.display = "none";
testgrid = new dhtmlXGridObject(''award_container'');
testgrid.setHeader("col1,col2,col3,col4,col5,col6");
testgrid.setInitWidths("230,100,110,120,98,140");
testgrid.setColAlign("left,left,left,left,left,left");
testgrid.setColSorting("str,str,date,str,date,str");
testgrid.setColTypes("link,ro,ro,ro,ro,link");
testgrid.enablePaging(true,15,3,"pagingArea",true,"recinfoArea");
testgrid.enableAutoHeigth(true,"160");
testgrid.setSkin("light");
testgrid.init();
document.getElementById(''test_container'').style.display = "";
testgrid.parse(document.getElementById("temp"));
}
catch(error)
{
--
--
}
}
PROCEDURE test_xml
BEGIN
OWA_UTIL.mime_header (‘text/html’, FALSE);
HTP.p (‘Cache-control: max-age=1, private’);
OWA_UTIL.http_header_close;
HTP.p ('<?xml version="1.0" encoding="UTF-8"?><rows> ');
FOR trec IN
(SELECT t1.account_name,
t1.resource_label platform,
t1.access_type atype,
t1.record_status_ind,
'Modify'
|| '^test22.modify?pspid='
|| special_access_id
|| '^_self' AS mo,
'revoke'
|| '^test22.revoke?pspid='
|| special_access_id
|| '^_self' AS rvk
FROM test1 t1
ORDER BY 1)
LOOP
HTP.p ('<row>');
HTP.p ('<cell>' || trec.account_name || '</cell>');
HTP.p ('<cell>' || trec.platform || '</cell>');
HTP.p ('<cell>' aaa ' </cell>');
HTP.p ('<cell>' || trec.atype || '</cell>');
HTP.p ('<cell>' || trec.record_status_ind || '</cell>');
HTP.p ('<cell>' || trec.mo || '</cell>'); -- I need to get second link here ex:trec.rvk
HTP.p ('</row>');
END LOOP;
HTP.p ('</rows>');
END test_xml;