Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ankit on Aug 04, 2009 04:07
open dhtmlx forum
how to add hyperlink in cell data

hi,
I want 2 add hyperlink values in one of my column wch call a javascript function. Iam loading data from a xml.
hw can i do it.Any code wil help me more 2 understnd tht
Answer posted by dhxSupport on Aug 04, 2009 05:48
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