I am having a problem serializing the grid when I use splitAt. Here is the code to do the serialization:
function serializeGridData(){
mygrid.setSerializationLevel(true, true);
var myXmlStr = mygrid.serialize();
alert(myXmlStr);
$(“dhtmlxXml”).value = myXmlStr;
}
Note - the alert is there just for debugging.
When I split the grid after the first column I get the following error (see below for the config xml):
c has no properties
cells(“27”, 0)getfile.aspx (line 5703)
setColumnHidden()getfile.aspx (line 26)
_serializeRow(tr, undefined)getfile.aspx (line 2880)
_serialise(undefined, undefined, undefined)getfile.aspx (line 2831)
serialize()getfile.aspx (line 2974)
serializeGridData()viewdomainsforvie… (line 37)
onclick(click clientX=0, clientY=0)viewdomainsforvie… (line 1)
[Break on this error] var cell = (c._childIndexes ? c.childNodes[c._childIndexes[col]] : c.childNode…
The configuration xml for the grid is as follows:
1
true
50
Domain
TLD
Country
Region
Puny code
Status
Watch
Registrant
Admin contact
Technical contact
Registrar
Renewal date
Email
Website
Web server
Comment
Ref1
Ref2
Ref3
Cost centre
Account name
Name servers
Portfolio sections
This problem only appears when the grid has more than a certain number of rows (27 strangely) and is fine for fewer rows.
Many Thanks
Duncan
Problem confirmed and fixed - please contact us directly at support@dhtmlx.com - we will provide updated js files.
Hi there,
I am also facing the same issue.
Please send me the fixed js file to my email Id : tejash1983@gmail.com
PLease contact support team on support@dhtmlx.com providing your reference number - you’ll get files then.