all groups > flash actionscript > october 2005 >
You're in the

flash actionscript

group:

[DATAGRID] Question about formatting.


[DATAGRID] Question about formatting. martin47
10/28/2005 8:17:38 PM
flash actionscript:
Greetings. I have a few questions regarding the datagrid component (MX2004).
Hope someone can guide me!

-Is it possible to change the style of a cell? Ex: if the numer is negative I
want to show it on red.
-Is it possible to change the width of a column?
-Is it possible to set the scroll bar to be dinamically? seems to me that it
shows all the time, even when the rows are only a few.

Thanks ahead for any help!!!!
Re: [DATAGRID] Question about formatting. martin47
11/1/2005 8:14:49 PM
I found the answer to one of my questions:

Formatting the column width:
Re: [DATAGRID] Question about formatting. kichik
11/13/2005 9:43:43 PM
to hide vertical scrollBar:

my_dg.__vScrollPolicy = "off";

for horizontal:

scroll bar __hScrollPolicy = "off" (or "on")

about styles here
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?hr
ef=Part5_Using_Components.html

AddThis Social Bookmark Button