Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ankit on Aug 04, 2009 22:47
open dhtmlx forum
hw to insert hyper link in grid

hi,
as u said..
You can use "link" eXcell type. It treats the value as a link source and renders it as a link (A tag).
The corresponding cell value in XML should be a “^” delimited list of the following values:
1st - Link Text;
2nd - URL (optional);
3rd - target (optional, default is blank). 
  Real link^http://dhtmlx.com
  Real link^http://dhtmlx.com^_blank
  Real link^javascript:doSomething()^_self
===================================================

i add dis in mygrid  -->  mygrid.setColTypes("link,ed,ed,ed,ed,ed,ed,ed");

& xml changes r lik

<rows>

<row id='..'>");

<cell>LINK^http://dhtmlx.com</cell>

</row>

</rows>

bt it wouln't wrk..

it says configuration error ,incorrect cell type "link"

Answer posted by dhxSupport on Aug 05, 2009 01:26
To use "link" eXcell type you should include dhtmlxgrid_excell_link.js file to your page