grid column rendering [message #31939] |
Wed, 21 March 2007 23:54  |
Eclipse User |
|
|
|
Originally posted by: parker.yahoo.co.uk
Hi,
can any one help me to make a start on how to override the default
rendering provided for grid columns.
Thanks n advance
Parker
|
|
|
Re: grid column rendering [message #31979 is a reply to message #31939] |
Thu, 22 March 2007 12:32  |
Eclipse User |
|
|
|
Hi Parker,
To override the rendering you simply need to create your own renderer
that derives from either AbstractRenderer or the other related
subclasses (GridCellRenderer,GridHeaderRenderer) and then just set that
renderer using the appropriate setter. For more information I suggest
you explore the Grid source code.
Regards,
-Chris
parker wrote:
>
> Hi,
>
> can any one help me to make a start on how to override the default
> rendering provided for grid columns.
>
>
> Thanks n advance
> Parker
>
|
|
|
Re: grid column rendering [message #580305 is a reply to message #31939] |
Thu, 22 March 2007 12:32  |
Eclipse User |
|
|
|
Hi Parker,
To override the rendering you simply need to create your own renderer
that derives from either AbstractRenderer or the other related
subclasses (GridCellRenderer,GridHeaderRenderer) and then just set that
renderer using the appropriate setter. For more information I suggest
you explore the Grid source code.
Regards,
-Chris
parker wrote:
>
> Hi,
>
> can any one help me to make a start on how to override the default
> rendering provided for grid columns.
>
>
> Thanks n advance
> Parker
>
|
|
|
Powered by
FUDForum. Page generated in 0.03439 seconds