Categories | Question details Back To List | ||
Grid with Hyperlink and Combo Filter Hello Guys!... i am having a problem, $link = "<a href='$layout_type.php?salesplan_id=".$result['ID']."&terr_layout_id=".$result['LAYOUT_ID']."&document_territory_id=".$result['TERR_ID']."&terr_plan_id=".$result['TERR_PLAN_ID']."&layout_id=".$result['LAYOUT_ID']."'>".$docu_title."</a>"; //echo "<br>".$rowid."-".$emp_name."-".$terr_id."-".$prod_title."-".$remp_name."-".$rterr_id."-".$docu_title."-".$res_status; print("<row id='".$rowid."'>"); print("<cell><![CDATA[".$prod_title."]]></cell>"); print("<cell><![CDATA[".$rterr_id."]]></cell>"); print("<cell><![CDATA[".$remp_name."]]></cell>"); print("<cell><![CDATA[".$terr_id."]]></cell>"); print("<cell><![CDATA[".$emp_name."]]></cell>"); print("<cell><![CDATA[".$link."]]></cell>"); print("<cell><![CDATA[".$res_status."]]></cell>"); print("</row>"); $rowid++; } The hyper link is coming on the record, but the select filter is showing all the information, how to show only the text of hyperlink in the select filter box Thank you Answer posted by dhxSupport on Jul 30, 2009 01:34 While filtering grid takes innerHTML of the cell wich returns all link html. You can implement custom eXcell type and change getValue() method which will return necessary values. Please find more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_excell_creation.html#grid_cexc https://dhtmlx.com/docs/products/kb/index.shtml?cat=kb&page=31&q=9264 |