Hi,
We are using Dhtmlx grid with connector to populate data into grid. And want functionality to add new row and update any one of the rows from grid.
It is not working for connector. Please provide me some pointer to do this.
function createGridObj(gridInfo){
var gridObj = new dhtmlXGridObject(gridInfo[‘divId’]);
// gridObj.setImagePath(“dhtml_comp/imgs/”);
gridObj.setImagePath(“dhtml_comp/imgs/grid/”);
gridObj.setHeader(gridInfo[‘columnString’]);
gridObj.setInitWidthsP(gridInfo[‘columnWidth’]);
gridObj.setColAlign(gridInfo[‘columnAlign’]);
gridObj.attachHeader("#text_filter,#select_filter,#text_filter,#select_filter,#select_filter,");
gridObj.setEditable(false);
gridObj.setSkin(“dhx_skyblue”);
gridObj.init();
var gridQString = “LoadGridServlet?gridType=exportdata¶mJson=”+createJsonOnjectForGrid(paramsArr);//save query string to global variable (see step 5 for details)
gridObj.updateFromXML(url, true, false, afterCallExport);
gridObj.enablePaging(true, 15, 5, gridInfo[‘pagingArea’], true, gridInfo[‘infoArea’]);
gridObj.setPagingSkin(“bricks”);
gridObj.setColSorting(gridInfo[‘sortInfo’]);
return gridObj;
}