Categories | Question details Back To List | ||
Grid and Combo in header Hi, Images say more than words: In IE: http://www.ao-online.nl/_temp/dropdown_IE.png In Firefox: http://www.ao-online.nl/_temp/dropdown_FF.png There goes something wrong with the link in the drop down. I'm using this in the header: <link rel="STYLESHEET" type="text/css" href="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/dhtmlxgrid.css"> <link rel="STYLESHEET" type="text/css" href="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/dhtmlxgrid_skins.css"> <link rel="STYLESHEET" type="text/css" href="#application.settings.scriptdir#/dhtmlxTree/dhtmlxCombo/codebase/dhtmlxcombo.css"> <script language="javascript" src="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/dhtmlxcommon.js"></script> <script language="javascript" src="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/dhtmlxgrid.js"></script> <script language="javascript" src="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script> <script language="javascript" src="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/ext/dhtmlxgrid_start.js"></script> <script language="javascript" src="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/ext/dhtmlxgrid_filter.js"></script> <script language="javascript" src="#application.settings.scriptdir#/dhtmlxTree/dhtmlxCombo/codebase/dhtmlxcombo.js"></script> <script language="javascript" src="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/ext/dhtmlxgrid_srnd.js"></script> <script language="javascript" src="#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_link.js"></script> And i received this file from you: dhtmlxgrid_excell_link.js When using on page: <script> mygrid = new dhtmlXGridObject('gridbox'); mygrid.imgURL = "#application.settings.scriptdir#/dhtmlxTree/dhtmlxGrid/codebase/imgs/"; mygrid.setHeader(" ,#session.contentbits.inc_document_table.Label#,#session.contentbits.inc_document_table.processParent#,#session.contentbits.inc_document_table.process#,#session.contentbits.inc_document_table.communicationtype#, "); mygrid.setColSorting("str,str,str,str,str,str"); mygrid.setColTypes("txt,link,link,link,txt,txt"); mygrid.setSkin("modern"); mygrid.enableAutoHeigth(true); mygrid.setInitWidths("50,300,150,150,150,50") mygrid.enableMultiline(false); mygrid.setColAlign("center,left,left,left,left,left") mygrid.setEditable(false); mygrid.enableResizing("true"); mygrid.enableLightMouseNavigation(true); mygrid.enableSmartRendering(true); mygrid.attachEvent("onXLS",function(){ document.getElementById("a_1").style.display="block"; }); mygrid.attachEvent("onXLE",function(){ document.getElementById("a_1").style.display="none"; }); mygrid.attachHeader("##rspan,##text_filter,##select_filter,##select_filter,##select_filter,##rspan"); mygrid.init(); mygrid.loadXML("inc_XML_process_documents.cfm"); </script> And this is the XML: <?xml version="1.0" encoding="ISO-8859-1"?> <rows> <row id="1"> <cell><![CDATA[ <img src="/ao_includes/version1_0/layouts/images/doc.gif" alt="" width="16" height="16" border="0"> ]]> </cell> <cell><![CDATA[ arbeidsovk retour brief sjabloon^document.cfm?doc=arbeidsovk retour brief sjabloon.docx ]]> </cell> <cell><![CDATA[Arbeidsovereenkomst^processes_detail.cfm?ID=D03A55C2-3048-83AA-828007AC1F36A82C]]></cell> <cell><![CDATA[Retourneren^processes_detail.cfm?ID=D0B899BC-3048-83AA-8296EA0DEF8BE56A]]></cell> <cell>Standaard Document</cell> <cell>13kb</cell> </row> <row id="2"> <cell><![CDATA[ <img src="/ao_includes/version1_0/layouts/images/doc.gif" alt="" width="16" height="16" border="0"> ]]> </cell> <cell><![CDATA[ Blanco aanmeldingsformulier nw^document.cfm?doc=Blanco aanmeldingsformulier nw.docx ]]> </cell> <cell><![CDATA[Arbeidsovereenkomst^processes_detail.cfm?ID=D03A55C2-3048-83AA-828007AC1F36A82C]]></cell> <cell><![CDATA[Opsturen^processes_detail.cfm?ID=D077750A-3048-83AA-8290BC3D951DBEDD]]></cell> <cell/> <cell>18kb</cell> </row> <row id="3"> <cell><![CDATA[ <img src="/ao_includes/version1_0/layouts/images/pdf.gif" alt="" width="16" height="16" border="0"> ]]> </cell> <cell><![CDATA[ p35702 _Reg A_ Specialisten_1^document.cfm?doc=p35702 _Reg A_ Specialisten_1.pdf ]]> </cell> <cell><![CDATA[Arbeidsovereenkomst^processes_detail.cfm?ID=D03A55C2-3048-83AA-828007AC1F36A82C]]></cell> <cell><![CDATA[Opsturen^processes_detail.cfm?ID=D077750A-3048-83AA-8290BC3D951DBEDD]]></cell> <cell/> <cell>70kb</cell> </row> <row id="4"> <cell><![CDATA[ <img src="/ao_includes/version1_0/layouts/images/pdf.gif" alt="" width="16" height="16" border="0"> ]]> </cell> <cell><![CDATA[ p35702 _Reg^document.cfm?doc=p35702 _Reg.B_Alg medewerkers_1.pdf ]]> </cell> <cell><![CDATA[Arbeidsovereenkomst^processes_detail.cfm?ID=D03A55C2-3048-83AA-828007AC1F36A82C]]></cell> <cell><![CDATA[Opsturen^processes_detail.cfm?ID=D077750A-3048-83AA-8290BC3D951DBEDD]]></cell> <cell/> <cell>67kb</cell> </row> <row id="5"> <cell><![CDATA[ <img src="/ao_includes/version1_0/layouts/images/doc.gif" alt="" width="16" height="16" border="0"> ]]> </cell> <cell><![CDATA[ standaardafwijzing sollicitatiemail^document.cfm?doc=standaardafwijzing sollicitatiemail.doc ]]> </cell> <cell><![CDATA[Selectie^processes_detail.cfm?ID=CF77B2DB-3048-83AA-8211BE221A032856]]></cell> <cell><![CDATA[Afschrijven^processes_detail.cfm?ID=CFD41E19-3048-83AA-8247EE26E79B5505]]></cell> <cell>Standaard Document</cell> <cell>149kb</cell> </row> <row id="6"> <cell><![CDATA[ <img src="/ao_includes/version1_0/layouts/images/doc.gif" alt="" width="16" height="16" border="0"> ]]> </cell> <cell><![CDATA[ standaardbrief portefeuille sollicitatie^document.cfm?doc=standaardbrief portefeuille sollicitatie.doc ]]> </cell> <cell><![CDATA[Selectie^processes_detail.cfm?ID=CF77B2DB-3048-83AA-8211BE221A032856]]></cell> <cell><![CDATA[In portfolio houden^processes_detail.cfm?ID=CFD725FA-3048-83AA-822AE8173ED96683]]></cell> <cell>Standaard Document</cell> <cell>149kb</cell> </row> <row id="7"> <cell><![CDATA[ <img src="/ao_includes/version1_0/layouts/images/doc.gif" alt="" width="16" height="16" border="0"> ]]> </cell> <cell><![CDATA[ standaardontvangst sollicitatiemail^document.cfm?doc=standaardontvangst sollicitatiemail.doc ]]> </cell> <cell><![CDATA[Kandidaten^processes_detail.cfm?ID=CF514CB7-3048-83AA-82BCA0E063EAAC1C]]></cell> <cell><![CDATA[Ontvangst bevestigen^processes_detail.cfm?ID=CF667BD0-3048-83AA-8219607B971C9D6B]]></cell> <cell>Standaard Document</cell> <cell>149kb</cell> </row> </rows> Answer posted by Stanislav on Jul 05, 2008 05:27 >>There goes something wrong with the link in the drop down. Collector of values for filter, doesn't work correctly with link cells - this is know issue. You can try to use fixed file from here http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3344&ssr=yes&s=filter%20link http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3686&ssr=yes&s=filter%20link |