Hello,
here: dhtmlx.com/docs/products/kb/inde … ll%20value it is said that
If you have used inline tags in cell as
<![CDATA[ some ]]>
all value inside cell tag treated as cell value and will be included in serialization, it is expected behavior.
I need to get value of a cell which is printed like this:
print("");
print("<![CDATA[");
print($row["old_awayodds"]);
if($row["old_awayodds"]<$row["awayodds"])
print("");
else if ($row["old_awayodds"]>$row["awayodds"])
print("");
else if(trim($row["old_awayodds"])!= "" || trim($row["awayodds"])!="")
print("");
print($row["awayodds"]);
print(" ]]>");
print("");
When I call alert mygrid.cells(rowID,celInd).getValue() I get cell_value
What can I do to get the pure cell_value?
Thank you very much
If you are using HTML tags inside the cell content they may be changed during rendering, and it will affect data returned by getValue ( adding of title attribute)
The CDATA has meaning only as part of XML , so it not treated as part of cell value ( it possible to enable serialization option, so grid will wrap data of cell in CDATA automatically, but it will not affect getValue method )