Hello… Please help me with this problem.
I have grid:
grid = new dhtmlXGridObject(“gridbox”);
grid.setImagePath("/codebase/imgs/");
grid.setHeader(“a,b,c”);
grid.setInitWidths(“70,80,*”);
grid.setColAlign(“center,center,left”);
grid.setColTypes(“ro,edtxt,ro”);
grid.setColSorting(“int,str,str”);
grid.setSkin(“dhx_skyblue”);
grid.init();
grid.enableSmartRendering(true);
grid.loadXML(“pb_xml.php”);
function not_empty(value) {return value != “”;}
myDataProcessor = new dataProcessor(“pb_gridedit.php”);
myDataProcessor.setVerificator(2, not_empty);
myDataProcessor.init(grid);
Grid is initialized ok and dataprocessor works. I change value in editable cell and it saves to database correctly. But after, if I reload page, in the cell there is still old value. I have to change tab (grid is in tabbar) and reload again and after this, cell has new value. Why not only after reload page??
Thanks for your advice