Do you have some code, we can take a look?
I don't know how you are fetching the data, but you are probably using the
AsyncCallback(). If so, then the success result is a jsonData. To see the
changes, you need to commit the changes. Something like this:
public void onSuccess( Object result ) {
jsonData = result.toString();
store.loadJsonData( jsonData, true );
// this is important to see the data
store.commitChanges();
}
Dariusz
On Thu, Nov 13, 2008 at 10:59 PM, Brian H. Mayo <[EMAIL PROTECTED]>wrote:
>
> I would like to ask for help debugging a non-loading store.
>
> I am using JSON, have setup my RecordDef and created an onLoad method
> in a listener adaptor to the Store.
>
> When I perform the store.load() and then check the count, it is 0.
> But, my debug output statements in the listener adapter say the store
> has a count of 1.
>
> How does the store go from having 1 record as reported by the onLoad
> method on the listener to 0 records after the store.load() call
> completes.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---