Share

ThinWire Ajax RIA Framework

Tracker: Feature Requests

5 GridBox: Control cell rendering to perform advanced features - ID: 1677397
Last Update: Comment added ( pra9ma )

Please add the ability to display images in the GridBox. The GridBox
currently converts everything to a string, even if you add an object that
is an Image. I have looked at the TableLayout, but using it would mean
having to give up all of the work done by GridBox. This could be made into
a general purpose solution by allowing the attachment of a column renderer
to a GridBox (similar to Swing). This way, the GridBox could be made much
more flexible, without having to use the TableLayout. This would also allow
special effects like odd/even row colors that is very useful when staring
at a large table and things like dynamic row attribute changes, i.e.
changing a row to have a red background if a certain data value was greater
than 100 for example.


Kevin Self ( kself ) - 2007-03-09 16:36

5

Open

None

Joshua Gertzen

UI Component

v1.3

Public


Comment ( 1 )




Date: 2007-05-23 19:42
Sender: pra9maProject Admin


Kevin,

Not sure what specifically you are trying to do with Images, but you could
just use an
<img src="class:///com.mypackage.MyClass/resources/MyImage.png"/> tag as
part of a cells text to cause it to render cell images.

In general I would like to see a broader set of rendering capabilities
directly in GridBox, but I am also determined to keep the component light
on it's feet. I'm not sure if a cell renderer approach is the right way to
to go, but in v1.3 we'll take a closer look at how to expand GridBox's
abilities.

This issue is related to
http://sourceforge.net/tracker/index.php?func=detail&aid=1588574&group_id=170706&atid=855242



Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
artifact_group_id v1.2 final 2007-05-23 19:42 pra9ma
summary Add Images to GridBox 2007-05-23 19:42 pra9ma