You need to call super.updateDisplayList() in your override. Ben
--- In flexcoders@yahoogroups.com, "Shun Chu" <[EMAIL PROTECTED]> wrote: > > Hi, > > I have extended the Label class by overriding the protected method > "updateDisplayList". The purpose was to allow showing different cell > colors in a dataGrid by checking the value of each dataField (if x > > 10, fill with green... etc). > > Now, the problem is, by overriding the "updateDisplayList" method, I > lost the ability to scale the height of each a row when there's more > data than the width allows. Or is there another way to do this without > affecting the ability to scale? > > I am relatively new to Flex, so any useful comments are appreciated. > Thank you. >