Hi
I am using dhtmlxGrid v.2.0 Professional edition build 81009/81107
when I export I am not getting what I am expecting
I have
myGrid.setCSVDelimiter("\t");
myGrid.enableCSVHeader(true);
myGrid.setSerializationLevel(false,false,true);
function exportCSV(){
document.getElementById(‘exportdatabox’).value = myGrid.serializeToCSV(true);
document.getElementById(‘exportform’).submit();
}
The exported file headings are 1 out as the ids are exported and also I thought that serializeToCSV(true) exported the display values rather that html (links etc)
file headings are 1 out as the ids are exported
If you need not ID in export, just add the next line
grid.enableCSVAutoID(true);
>> also I thought that serializeToCSV(true) exported the display values rather that html (links etc)
It is known issue with latest build. As fast solution you can use the next line for the same result
grid._strictText = true;