This content has been marked as final. Show 3 replies
"Greg Lafrance" <email@example.com> wrote in message
>I have a DataGridColumn with a custom itemRenderer.
> The renderer is a class that extends TextArea, in which I override the
> set method, the height set method, and add a change event listener, and
> three methods work together to give me a TextArea whose height
> the height of the TextArea so scrollbars do not display.
> The problem is that the custom itemrenderer displays really big, like
> 348px in
> height, and I don't know why. Maybe something going wrong during the
> Any ideas? Here is my renderer code.
Try calling invalidateSize() more often.
I was also told that renderers must return the right value from getExplicitOrMeasuredHeight. You’ll almost always have to override measure().