Saturday, May 19, 2012

[Action Script] Calculating how much width for a DataGridColumn May,2012

I have a requirement here to make a column wide enough for only 8 characters. Unfortunately, mx:DataGridColumn doesn't deal in characters--only in pixels. But I'm not displaying pixels. How can I calculate how wide I need to make a column for the widest 8 alphanumerics based on the latest font?
Calculating how much width for a DataGridColumn

Related Post



0 comments: