Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sid on Oct 10, 2008 11:16
open dhtmlx forum
<a href = LINK > LINKDATA </a> using json load


This is in reference to -- https://owa.webroot.com/exchweb/bin/redir.asp?URL=http://dhtmlx.com/docs/products/kb/index.php?s=normal%26q=5452%26a=8052

I am still not getting Links inside grid using JSON. This is what my code is, can you tell me what is wrong with this ?

Thanks--




            loggrid = new dhtmlXGridObject("loggridbox");
            loggrid.setImagePath("/web/html/javascript/dhtmlgrid/imgs/");
            loggrid.setHeader("xx,xx,xx,xx,xx,xx,xx,xx");
            loggrid.setInitWidths("100,100,100,100,100,100,400,200")
            loggrid.setColAlign("center,center,center,center,center,center,center,center")
            loggrid.setColTypes("ro,ro,ro,ro,ro,ro,ro,ro");
            loggrid.setColSorting("str,str,str,str,str,str,str,str")
            loggrid.enableLightMouseNavigation(true);
            loggrid.setSkin("xp");
            loggrid.enableMultiline(true);
    
            loggrid.setEditable(false);
            loggrid.enableAutoHeight(true);
            loggrid.enableResizing("true,true,true,true,true,true,true,true");
            loggrid.init();
            loggrid.enableAlterCss("even_xp","odd_xp");
            data = {rows:[ {id:"0", data:["2008-09-29","11:24:37","Group1","svora@webroot.com","10.13.7.97","Web Mail","<a href='http://mail.google.com/mail/channel/bind?at=xn3j31eg21vumah5m9f1aojg4wzrt1&ui=2&VER=6&it=216727&RID=rpc&SID=11CB7AE3F25FB4B3&CI=1&AID=78&TYPE=xmlhttp&zx=okfq7j-dv6o5d&t=1' > http://mail.google.com/mail/channel/bind?at=xn3j31eg21vumah5m9f1aojg4wzrt1&ui=2&VER=6&it=216727&RID=rpc&SID=11CB7AE3F25FB4B3&CI=1&AID=78&TYPE=xmlhttp&zx=okfq7j-dv6o5d&t=1 </a>","" ]},




Answer posted by Support on Oct 13, 2008 01:47
The same code works in case of local samples - please check attached one. 

Attachments (1)