I have the following function:
function notities(cellName,cellName2,cellName3,rID){
NotesGrid = cellName.attachGrid();
NotesGrid.setImagePath("codebase/imgs/");
NotesGrid.setHeader("Datum,Actie,Gereed");
NotesGrid.setInitWidths("70,120,50");
NotesGrid.setColAlign("left,left,center");
NotesGrid.setColTypes("dhxCalendar,ro,ch");
NotesGrid.init();//initializes the grid
NotesGrid.setDateFormat("%d-%m-%Y","%Y-%m-%d %H:%i:%s");
notesdp1 = new dataProcessor ("connectors/notes_connector.php");// object constructor. Here you should specify a connector file
notesdp1.init(NotesGrid);// initializes dataProcessor. As the parameter you should specify your grid
NotesGrid.load("connectors/notes_connector.php?connector=true&dhx_sort[1]=asc¬e_mask="+rID);//populates the grid with data from the DB
NotesGrid.attachEvent("onRowSelect", function(nID){
notesForm = cellName2.attachForm(formDataNotes);
notesForm.setFontSize('11px');
notesForm.load("connectors/form_notes.php?id="+nID);
dpn.init(notesForm);
var dpn = new dataProcessor("connectors/form_notes.php");
notesForm.attachEvent("onButtonClick", function(id){
dpn.sendData();
dpn.attachEvent("onAfterUpdate",function(sid,action,tid,xml_node){
NotesGrid.cells(sid,0).setValue(notesForm.getItemValue("datumAanmaak"));
NotesGrid.cells(sid,1).setValue(notesForm.getItemValue("soortNotitie"));
NotesGrid.cells(sid,2).setValue(notesForm.getItemValue("Gereed"));
});
dhtmlx.message("De wijzigingen zijn opgeslagen");
});
});
uploadForm = cellName3.attachURL("upload.php?id="+rID);
}
When I select a row in the grid, it fills the form with data. This works fine in the latest versions of Chrome, Safari, Opera and FF but in IE11 the form opens but the data are not displayed. What am I doing wrong here?