Nope, it's not stupid, and it is a good suggestion.
The example I am using shows 'id' as integer, 'name' as String, and 'date'
as Date.
So, I made those changes.
I did manage to fix this issue. What I did was to look again at the sample
and realized at the bottom of the DataSource code and noticed I need to have
a "copyValues" method and "valueOf" method..
Ok, so here is a new issue you can help me with.
I have an object that has some child data. So, I presume that in my DTO, I
want to have an ArrayList of that child-object.
Is that correct?
And thanks again for the help!
Tom
On Fri, Sep 25, 2009 at 4:06 PM, g p <[email protected]> wrote:
> I know this might sound stupid, but always double check the names between
> the ListGridField and the DataSourceField . If the do not exactly match the
> data won't be pulled by the ListGrid. A good way to make sure your ListGrid
> works with your DataSource is to set the DataSource as clientOnly and use
> some test data. When you are ready with the ListGrid, switch it to server
> bound DataSource and debug your CRUD methods.
>
>
>> > > But, theSmartGWTListGrid shows 23 rows, and the right column names,
>> > > but no data is listed there.
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---