Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Umair on Aug 19, 2009 03:04
open dhtmlx forum
DHTMl GRID

HI
I am using dhtmlx grid and there are some column of type "link" and i need cells value for some operations. I am using getTitle() (That is supposed to return text part of cell) function to get the value of cell (of type link) but it return the string like "javascript:myFunction()".
Definition for this function is as follows (in dhtmlx.js)

eXcell_link.prototype.getTitle = function(){
var z=this.cell.firstChild;
return ((z&&z.tagName)?z.getAttribute("href"):"")
};

Regards
Umair Tariq
Xeeonix Tech.
Answer posted by dhxSupport on Aug 19, 2009 06:08
>>and i need cells value for some operations
To get cell value you should modify getValue() method. Please find more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_excell_creation.html#grid_cexc