I am using Grid and dataprocessor for data updation.
We have a column which is not visible but when the grid row is
clicked its value is displayed in a text box in a dhtmlx form. If the user updates
this value in the form the value in the column using
stgrid.cells(stgrid.getSelectedRowId(),6).setValue(AQDescForm1.getItemValue("aq_desc"));
The column value updates but it’s not submitted to the server to be saved.
The grid declaration is as below:
stgrid = stLayout.cells("a").attachGrid();
stLayout.cells("b").appendObject("noqselected");
stgrid.setHeader("ID,Account Question,Short Title,Master Question,Question Type,Mandatory,Description");
stgrid.setInitWidths("150,*,*,*,200,100,100");
stgrid.setColAlign("center,left,left,left,center,center,left");
stgrid.setColTypes("ro,ed,ed,combo,combo,combo,ro");
stgrid.setColSorting("str,str,str,str,str,str,str");
//stgrid.setColumnHidden(6,true); //hide description column
stgrid.init();
My Question is :
Is there a way to make the Dataprocessor submit the row for updation when we set the value?
because currently its not updating the server when we change the column value using .setValue()
shown above.