isomorphic-software / smartgwt

Smart GWT is a GWT-based framework that allows you to not only utilize its comprehensive widget library for your application UI, but also tie these widgets in with your server-side for data management.
35 stars 22 forks source link

Drag Copy grid example bug #729

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In showcase, there is Drag Copy grid example, with this code:

ListGridField countryCodeField2 = new ListGridField("countryCode", "Flag", 50); 

        countryCodeField.setAlign(Alignment.CENTER);  
        countryCodeField.setType(ListGridFieldType.IMAGE);  
        countryCodeField.setImageURLPrefix("flags/16/");  
        countryCodeField.setImageURLSuffix(".png");  
        ListGridField nameField2 = new ListGridField("countryName", "Country");  

These countryCodeField should be renamed to countryCodeField2, because 
countryCodeField was initialized already, few lines above.

Original issue reported on code.google.com by had...@digitech.cz on 3 Dec 2013 at 9:26