PDA

View Full Version : [FIXED] GridView: doRender bug



llusetti
3 Sep 2008, 2:40 AM
I think there is a bug in the doRender methond of the GridView class, line 599


String rv = getRenderedValue(c, rowIndex, i, model, c.id);

I think c.id should be replaced by c.name.

llusetti
27 Jan 2009, 6:05 AM
This bug is still present in the public release of the library, if you attach a grid to a beanmodel data store and try to display a property of a nested object like foo.bar.name as the data index of a grid column the result is an empty cell.

I continue to fix this building the library from the svn source but for sure this isn't a sign of a good support service.

Regards
Luca Lusetti

sven
27 Jan 2009, 6:10 AM
Post an example code as the guidelines say please.

sven
27 Jan 2009, 6:20 AM
I think i got it, thanks for reporting.

sven
27 Jan 2009, 12:25 PM
Fixed in SVN.