visv / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 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