Hi
Im having a problem in filtering listgrid in client side . it doesn't occur in client side . although useClientFiltering :true is set in the result set created it is looking for the datasource in "[webRoot]/shared/ds" in the server and say It cannot find it
Whats wrong with this code ? Please advice me on this
I found this in the reference docs available for us to refer under useClientFiltering
I quote
"useClientFiltering [IRW] [Advanced] type:Boolean, defaultValue: true
Whether to filter data locally when all DataSource records have been loaded (that is, criteria is blank and cache is complete)."
end of quote
In this above statement how can we make sure the Datasource have been loaded. in the sense Im not sure what is "criteria is blank and cache is complete" actually means? please advice me on this
Im having a problem in filtering listgrid in client side . it doesn't occur in client side . although useClientFiltering :true is set in the result set created it is looking for the datasource in "[webRoot]/shared/ds" in the server and say It cannot find it
Code:
rs = isc.ResultSet.create({ dataSource: "MainListGridData", allRows :listData, useClientFiltering:true, useClientSorting:true, fetchMode:"local" }); MainListGrid.setDataSource(MainListGridData); MainListGrid.setData(rs);
I found this in the reference docs available for us to refer under useClientFiltering
I quote
"useClientFiltering [IRW] [Advanced] type:Boolean, defaultValue: true
Whether to filter data locally when all DataSource records have been loaded (that is, criteria is blank and cache is complete)."
end of quote
In this above statement how can we make sure the Datasource have been loaded. in the sense Im not sure what is "criteria is blank and cache is complete" actually means? please advice me on this
Comment