oertig wrote:
sebastian wrote:
One thing that I haven't figured out is how to handle loading data into grids. I currently often use a MemoryProxy, RecordDef, ArrayReader, Store, etc for this and am unsure how this would best be translated into SmartGWT.
Hi,
exactly this is what I'm also searching for, but not found an answer so far!
As I have seen so far the access to (existing) server side services is quit different in smartGWT than in gwt-ext. This is actually the part that gives me headaches.
Werner
I believe Abhijeet is working on some docs in this area but you'll find that SmartGWT is so much easier in this area, and you'll end up with much less code (on the client and the server). For now best to view the source of comparable samples in the SmartGWT showcase. For example this one loads local data into a grid :
http://www.smartclient.com/smartgwt/sho ... types_textThere are a few options depending on your precise usecase (local or server based data, read only or editable etc). There are a lot of samples covering a vast number of usercases in the SmartGWT Showcase (~250 samples) so I'd encourage uses to spend some time getting familiar with the samples and browsing the associated code, or just use it as a reference and lookup a specific example if you're not clear on a certain subject.
Again, if you have a specific question, feel free to ask here. We can either point you to the relevant SamrtGWT sample where you can browse the source, or can answer the question more directly.
Sanjiv