Everything works really well until I try to update a value in the grid - when I update, I get this error and the post to server never happens.
c is undefined …dhtmlxGrid/codebase/dhtmlxgrid.js Line 835
Includes:
dhtmlxcommon.js
dhtmlxgrid.js
dhtmlxgridcell.js
dhtmlxgrid_srnd.js
dhtmlxdataprocessor.js
This is the code I am using to initialise the grid:
function doInitGrid() {
Contacts = new dhtmlXGridObject('Contacts_container');
Contacts.setImagePath("../assets/dhtmlx/dhtmlxGrid/codebase/imgs/");
Contacts.setHeader(", ID, F Name(s),L Name,Organisation, Last Act, Next Act");
Contacts.setInitWidths("20, 50, 100,100,*,100,100");
Contacts.setColAlign("left, center, left,left,left,center,center");
Contacts.setColTypes("ch,ro,ed,ed,ed");
Contacts.setColSorting("num,str,str,str,date,date");
Contacts.setSkin("modern");
Contacts.loadXML("../api/ContactListFeed.php?searchText=");
Contacts.init();
Contacts.enableSmartRendering(true);
var dp = new dataProcessor('../api/contactUpdate.php');
dp.setTransactionMode("POST",false);
dp.init(Contacts);
} //js funct