I’m trying to run some simple grid (v2.5) with java connector (v0.9b) and pgsql.
Wrote the programs exactly as in the samples:
mygrid = new dhtmlXGridObject(‘gridbox’);
myDataProcessor = new dataProcessor(“cennik.do”);
a servlet code:
Connection conn = …
GridConnector c = new GridConnector(conn, DBType.PostgreSQL);
c.render_table(“szz.typ_kli”, “id”, “id,nazwa”, “”, “”);
The grid get populated with the data from db, but any ins/update/del operation causes the “Incorrect XML” error. I was trying to search the cause and discovered, that the parse_request method does not set the “editing” mode and does not recognizes the ids of rows. The dhtmlxdataprocessor.js sends the following parameters to the servlet:
but the parse_request expects “ids” parameter. What’s going on, how to make it to work?