PDA

View Full Version : Server side filtering



aykut
19 Aug 2009, 11:43 PM
Hi,

Is there a complete example/howto about implementing server side filtering with GXT grid
working with paging? (I am using GXT, Gilead and Hibernate libraries...)

Thank you
Aykut

aykut
20 Aug 2009, 5:59 AM
Any ideas?

Arno.Nyhm
20 Aug 2009, 6:54 AM
!please not bump your question after some hours!


did you look at the examples included in the zip archive?

com.extjs.gxt.samples.server.ExampleServiceImpl.java

aykut
20 Aug 2009, 10:51 PM
!please not bump your question after some hours!


did you look at the examples included in the zip archive?

com.extjs.gxt.samples.server.ExampleServiceImpl.java

Yes, sorry but there's no example about server-side filtering.

Arno.Nyhm
21 Aug 2009, 2:59 AM
as an idea: you extend PagingLoadConfig to a FilterPagingLoadConfig to hold also your filtering information and rewrite the this example method to apply the filter on serverside. that would the way i do this.


public PagingLoadResult<BeanPost> getBeanPosts(FilterPagingLoadConfig config) {

aykut
23 Aug 2009, 3:02 AM
When i modify my service interface and implementation having my newly implemented FilteredPagingLoadConfig, PersistentRemoteService (Gilead) class raises an ClassNotFoundException in its processCall method. It says :

"Parameter 0 of is of an unknown type '......FilteredPagingLoadConfig'"

What's this about?