Go Back   SmartClient Forums > Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 2nd Mar 2010, 16:30
dmanchikalapudi dmanchikalapudi is offline
Registered Developer
 
Join Date: Feb 2010
Posts: 7
Default ListGridField example on SmartGWT does not work for me

I am trying to use the example at " http://www.smartclient.com/smartgwt/showcase/#grid_databinding_lg_fields " on the showcase to understand the ListGridField. However, it complains about the "countryGrid.setData(CountryData.getRecords()) ;" line because the CountryData.getRecords() method returns an array of CountryRecord objects, and it expects an array of ListGridField objects. Assuming the CountryRecord is a simple POJO, i created a class with its attributes and its getters/setters. It still complains about the setData method. I am not sure how this is working on the showcase. Can one of you point me in the right direction ?
Reply With Quote
  #2  
Old 2nd Mar 2010, 16:33
sjivan sjivan is offline
Registered Developer
 
Join Date: May 2008
Posts: 1,530
Default

The entire showcase source is in the distribution so examine the source to see what the code looks like.

Also please post Smart GWT questions in the Smart GWT forum.

Sanjiv
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved