I have the following grid
var mygrid = new dhtmlXGridObject(‘peopleoncourse_grid’);
mygrid.setImagePath("/dhtmlxGrid/codebase/imgs/");
mygrid.setHeader(“Attended, ID, Firstname, LastName, Course”);
mygrid.setColTypes(“ch,ro,ro,ro,ro”);
mygrid.setInitWidths(“80, 30, 100, 100, 60”);
mygrid.setColAlign(“center, center, center, Left, Left”);
mygrid.setSkin(“modern”);
mygrid.submitOnlyChanged(false);
mygrid.submitOnlyRowID(false);
mygrid.init();
mygrid.enableSmartRendering(true);
gridQString = “/components/com_bcm/views/bcm/peopleoncourses.php”;
mygrid.loadXML(gridQString);
I am able to load the xml file (with 4 records as an example) and have created a ‘save’ button on the form. When I dump the contents of the POST I am only seeing the contents of Rows 2, 3, and 4. Row 1 is missing from the POST.
Any help would be appreciated.
Please check the IDs in your XML
- they must be unique
- they must not be equal to 0, null, false
If issue still occurs - please provide an example of used XML