override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
{
super.updateDisplayList(unscaledWidth, unscaledHeight);
MyCheckBox.x = (unscaledWidth / 2) - (MyCheckBox.width / 2);
MyCheckBox.y = (unscaledHeight / 2) - (MyCheckBox.height /
2);
}
Depends on what kind of item renderer you have. This will
center the checkbox within the row. If you want to make the rows a
specific size then go
MyDataGrid.rowHeight = 30;
Heres an example of using variableRowHeight ->
http://thetaskbox.com/stuff/_testvariablerowheight/main.swf
Right click this app to get the source code. If you are doing
your item Renderer in actionscript it's the same methodology.
Really, .mxml gets converted over to action script anyway!