datagrid.getItemAt() is gone, use following:
for(ver i:int=0;i
trace(dg.columns[i].width);
}
you will get each column's width (and lot of other properties).
note: what dg.columns[i] returns is of DataGridColumn type, check it in the manual for other props/methods.
jeremy.On 4/5/06, jame
And thank you, Shweta -- I saw the Macromedia sample on their site
that return ciolumn width, with this syntax you suggest below.
However, when I try to utilize it, I get this compile error in
Eclipse (running Flex 2.0 Beta 2):
"Call to a possibly undefined method 'getColumnAt' through a
refer
Hi,
I think if you say
dg.getColumnAt(a).width
will give the width of the column at index a in the datagrid.
dg being the id of the datagrid.
Hope this helps.
-Shweta
--- In flexcoders@yahoogroups.com, "jameskeepnews" <[EMAIL PROTECTED]>
wrote:
>
> Thanks, Jeremy -- I am aware
Thanks, Jeremy -- I am aware of DataGridColumns, which is where we're
tracking those widths, and I understand what you're describing in
principle. It's the practice I'm looking for... :}
Could you (or someone) provide me with a snippet of code as an
example? Obliged, jk
--- In flexcoders@yah
4 matches
Mail list logo