nijogeorgep / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Embedding widgets into grid cells not working #598

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It seems to me that embedding widgets into ListGrid cells does not work, but 
for some flavour of image buttons.

I have created a sample eclipse project (attached) using the 'grid cell widget' 
example supplied through the current smartcase showcase 
(http://www.smartclient.com/smartgwt/showcase/#grid_cell_widgets). Only change: 
the buttonField column now alternates between showing the original button 
(which works) and a label (which does not work).

If run one can see (attached screenshot) that every second row shows the 
original image button, while the labels are empty (rendered with a ' ').

The problem exists with smartgwt version 2.4 and the nightly snapshot from 
24/06/11.

In order to reduce the size of the sample project it is missing the binary jars 
- gwt-servlet and smartclient - in the WEB-INF/lib folder.

Original issue reported on code.google.com by chatzipa...@googlemail.com on 25 Jun 2011 at 4:47

Attachments:

GoogleCodeExporter commented 8 years ago
Please don't post an issue unless you've received confirmation that you've 
found a bug.

When posting an issue please do not upload an Eclipse project, just a single 
.java file that can be dropped into a standard project.

Please remember to specify the browsers where you see the problem.

None of this matters for this case, because it's a usage issue - setTitle() 
doesn't not populate a Label, setContents() does.  You would have found this 
out if you'd tried the Label outside of the grid.

Original comment by smartgwt...@gmail.com on 26 Jun 2011 at 6:41