OK, so doing the preferredHeight trickis
a bad idea. Unfortunately in looking at the code that builds the row I
basically cant figure out the right thing to do.I think
you should file a bug saying that its too difficult to indicate in a
cell renderer that you want to be the same size as
Andrew Spaulding wrote:
I have tried using a getPreferredHeight method that returns the owners
layoutHeight and this works fine, the colour fills the entire cell
now. But I still have some weird behaviour when there is a scoll bar
on my datagrid. If click and drag on the scroll bar and move it up
OK, try adding this to the cell renderer:
var owner;
function getPreferredHeight() :
Number
{
return owner.layoutHeight;
}
Matt
From: Andrew Spaulding
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005
9:06 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders]
3 matches
Mail list logo