Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Senergun on Mar 27, 2009 01:32
open dhtmlx forum
dhtmlxTreeGrid link problem

I have a code like this;

---ASP file
mygrid=new D('tlist');
mygrid.setImagePath("includes/dhtmlx/imgs/csh_winstyle/");
mygrid.setHeader("#text_filter,#cspan,#cspan");
//mygrid.attachHeader("#text_filter,#cspan");
mygrid.setInitWidths("820,33,20");
mygrid.setColAlign("left,center,center");
mygrid.setColTypes("tree,ch,link");
mygrid.setColSorting("str,str,str");
mygrid.attachEvent("onCheckbox",doOnCheck);
mygrid.attachEvent("onRowDblClicked",doDblClick);
mygrid.init();
mygrid.bD("list.asp");

function doDblClick(){
    return false;
}

function doOnCheck(rowId,cellInd,state){

    var strItems = document.tform.items.value ;
    
    if (state) {
        strItems = strItems + rowId + "," ;
    } else if (!state) {
        strDel = "," + rowId + ",";
        strItems = strItems.replace(strDel, ",");
    }
    
    document.tform.maddeler.items= strItems;
}

---XML file

<row id="1_1" open="1">
<cell>itemName</cell>
<cell>0</cell>
<cell>R^RRead.asp^_blank</cell>
</row>

I got dhtmlxgrid_excell_link.js included. There no xml error but stil not working. When i delete third cell information from xml, item listed but with third cell information it doesnt...

Please some body help me!
Thanks...
Answer posted by dhxSupport on Mar 27, 2009 03:00
We tested your code and didn't find any errors. Third column contain link as expected. What is expected behaviour for you? 
Answer posted by Senergun on Mar 27, 2009 16:04
You can see the problem at the link below

http://www.senergun.com/tg

and the xml address;

http://www.senergun.com/tg/liste.xml

I can not see the items with link. Thanks...