Hello everybody,
i am facing a problem that i am not able to handle.
i use RestDataSource to load data into a ListGrid. For test, i let the server of fetchdata give every time the same response back.
if i use ListGrid.setAutoFetchData(true), addData(record), updateData(new ListGridRecord(...)) and removeData(record) work well.
i want do the same thing, but this time manuell to fetch data.(data is the same data in first case)
but if i use fetchData(form.getValuesAsCriteria()) to load the same data from server, the ListGrid will be firstly updated, after this, if i use addData(record), updateData(new serviceRecord(...)) and removeData(record), i can get the right response from my server, but the grid are not updated.
Does anyone have an idea about how to handle this?
Best Regards and thanks in advance
i am facing a problem that i am not able to handle.
i use RestDataSource to load data into a ListGrid. For test, i let the server of fetchdata give every time the same response back.
if i use ListGrid.setAutoFetchData(true), addData(record), updateData(new ListGridRecord(...)) and removeData(record) work well.
i want do the same thing, but this time manuell to fetch data.(data is the same data in first case)
but if i use fetchData(form.getValuesAsCriteria()) to load the same data from server, the ListGrid will be firstly updated, after this, if i use addData(record), updateData(new serviceRecord(...)) and removeData(record), i can get the right response from my server, but the grid are not updated.
Does anyone have an idea about how to handle this?
Best Regards and thanks in advance
Comment