Issue 1:
I am using a list grid element to implement functionality in my application.
I have several fields in list grid and some of them can be edited by the user. If user gives data to the editable fields and click outside of the list grid row then data will be saved.
I am implementing code like below:
ValuesManager vm = new ValuesManager();
DataSource ds= DataSource.get("Datasource");
vm.setDataSource(ds);
ListGrid smGrid = new ListGrid();
smGrid.setAutoSaveEdits(false);
smGrid.setFields(all list gried fields);
smGrid.addRowEditorExitHandler(new RowEditorExitHandler() {
@Override
public void onRowEditorExit(RowEditorExitEvent event) {
// TODO Auto-generated method stub
Map dataMap = event.getNewValues();
if(dataMap != null)
{
if(event.getRowNum() == 0 )
{
\\ code Snippet
}
else
{
\\ code Snippet
}
saveData();
}
}
});
private void saveData(){
if(smGrid.validateRow(0)&& smGrid.validateRow(1)){
vm.saveData(new DSCallback() {
@Override
public void execute(DSResponse response, Object rawData, DSRequest request) {
\\ code Snippet
}
});
}
}
<DataSource ID="Datasource" serverType="generic">
<fields>
// Field Code Snippet
</fields>
<serverObject className="<package>.DatasourceDS" />
</DataSource>
public class DatasourceDS {
public DSResponse update(DSRequest dsRequest)
{
// code Snippet
}
}
We are testing this in Debug mode. We are trying catch up the debug pointer in Update() method of DataSource implementation class. But we are unable to catch up pointer in Update() in DataSource Class and did not get any respond from callback.
We are using GWT 2.6.1(using gwt-servelet.jar,gwt-dev.jar), Smart GWT 4.0 (smartgwt.jar, smartgwtpro.jar),and Internet explorer 11.
Previously it was working fine in IE8, IE9 with GWT 2.3.0, smart gwt 3.0. The above codes are running fine in IE8. We are upgrading the above mentioned jars to run this application in IE11.
Note: if anyone need any information further, please reply.
I am using a list grid element to implement functionality in my application.
I have several fields in list grid and some of them can be edited by the user. If user gives data to the editable fields and click outside of the list grid row then data will be saved.
I am implementing code like below:
ValuesManager vm = new ValuesManager();
DataSource ds= DataSource.get("Datasource");
vm.setDataSource(ds);
ListGrid smGrid = new ListGrid();
smGrid.setAutoSaveEdits(false);
smGrid.setFields(all list gried fields);
smGrid.addRowEditorExitHandler(new RowEditorExitHandler() {
@Override
public void onRowEditorExit(RowEditorExitEvent event) {
// TODO Auto-generated method stub
Map dataMap = event.getNewValues();
if(dataMap != null)
{
if(event.getRowNum() == 0 )
{
\\ code Snippet
}
else
{
\\ code Snippet
}
saveData();
}
}
});
private void saveData(){
if(smGrid.validateRow(0)&& smGrid.validateRow(1)){
vm.saveData(new DSCallback() {
@Override
public void execute(DSResponse response, Object rawData, DSRequest request) {
\\ code Snippet
}
});
}
}
<DataSource ID="Datasource" serverType="generic">
<fields>
// Field Code Snippet
</fields>
<serverObject className="<package>.DatasourceDS" />
</DataSource>
public class DatasourceDS {
public DSResponse update(DSRequest dsRequest)
{
// code Snippet
}
}
We are testing this in Debug mode. We are trying catch up the debug pointer in Update() method of DataSource implementation class. But we are unable to catch up pointer in Update() in DataSource Class and did not get any respond from callback.
We are using GWT 2.6.1(using gwt-servelet.jar,gwt-dev.jar), Smart GWT 4.0 (smartgwt.jar, smartgwtpro.jar),and Internet explorer 11.
Previously it was working fine in IE8, IE9 with GWT 2.3.0, smart gwt 3.0. The above codes are running fine in IE8. We are upgrading the above mentioned jars to run this application in IE11.
Note: if anyone need any information further, please reply.