Hi,
I am using java connector to fetch and update the db. when user loading the index.jsp page in the connector if block is executing and data is fetching properly.
where as when user edit the grid, I am expecting to update the DB through the java connector.
In java connector else block is firing but DB is not updating with the user values.
Please help me to resolve the issue.
In my Index.jsp page I am creating the grid as below:
function buildGrid() {
myGrid.setImagePath(“dhtmlx/codebase/imgs/dhxgrid_skyblue/”);
myGrid.setColumnIds(“P_Id,LastName,FirstName,Address,City”);
myGrid.setHeader(“P_Id,Last Name,First Name,Address,City Name”);
myGrid.setColTypes(“ro,ed,ed,ed,ed”);
myGrid.setInitWidthsP(“15,15,15,15”);
myGrid.setColAlign(“center,center,center,center”);
myGrid.init();
myGrid.clearAndLoad("PersonsGridConnector");
// myGrid.showView("CodesetGridView");//.setActive();
myDataProcessor = new dataProcessor("PersonsGridConnector");
myDataProcessor.setTransactionMode("GET", false);
myDataProcessor.init(myGrid); // link dataprocessor to the grid
}