It seems to be a trivial question, but I am new in smartgwt:)
I need an index setting for a gridlist in my form, which passing the new index value to server side. It works good on server side and client side (when I wired fix setting), but I cannot pass index value to executeFetch().
I’m new too, then don’t see my answer authoritatively… But we need to try help each other, right? Hehehe!
First of all, what is a RPCDataSource? A new one, in the SmartClient 7.0 RC? I don’t have one here, and i’m using the smartgwt 1.0b3. Well, I’m using the RestDataSource, and to send data to server, I’m using the method grid.setFilterData(Criteria c). Very effective, and is solving my problems… A code example:
final Criteria criteria = new Criteria();
criteria.addCriteria("name", "John");
grid.filterData(criteria);