Hi,
I've configured my datasource as follow:
when I tried to the below call to fetch data, the parameter (m) is not send to the server side.
If i set the clientOnly to false, then I can't use AdvancedFilter to filter data on client side.
Can someone please help me? I need to pass parameters back to the server when the grid refresh and filter the grid data on client side by using AdvancedFilter.
SmartGwt: 2.2
GWT:1.5.3
Browser: IE8
Thanks,
Kuan
I've configured my datasource as follow:
Code:
setID(id);
setRecordXPath("items");
setDataFormat(DSDataFormat.JSON);
//set field definition
setDataURL("getData.do");
setClientOnly(true);
setCriteriaPolicy(CriteriaPolicy.DROPONCHANGE);
Code:
DSRequest dsRequest = new DSRequest(); dsRequest.setParams(m); grid.getDataSource().invalidateCache(); grid.fetchData(null,null,dsRequest);
Can someone please help me? I need to pass parameters back to the server when the grid refresh and filter the grid data on client side by using AdvancedFilter.
SmartGwt: 2.2
GWT:1.5.3
Browser: IE8
Thanks,
Kuan
Comment