This content has been marked as final. Show 4 replies
Create your own class which extends DataGrid. Then, you can customize the grid lines a bit by overriding the following function in your class.
In this example the line thickness is set to 5. Be sure to include imports for:
Notice that I commented-out the call to super.drawHorizontalLine because the line thickness has to change.
I'm so thankful for replying to me.
ListBaseContentHolder does not exist in flex, or do i have to update my flex sdk?
It is part of Flex 3.
I replaced ListBaseContentHolder with Object:
var contentHolder:Object = s.parent.parent;
I'm so greatful and thankful for resolving this issue with your big help.
I knew that i need to extend the class and i thought that drawHorizontalLine needs to be override, but i didn't know what code to place in that method.
I very appreciate for helping me. So this increased my knowledge in flex a lot.
All the best