1 Reply Latest reply on Nov 13, 2008 11:07 AM by Newsgroup_User

    columnColor for the Advanced Data Grid

    nash99
      Hi ,
      I was trying to use the "styleFunction" property in the advanced datagrid .
      Can I change the column color using this property (I know tht we can change the rowColor using
      return { rowColor:0xFF0000, fontWeight:"bold" }; ) ?
      Can anyone send me an example on how to change the column color using the styleFunction.

      thanks
        • 1. Re: columnColor for the Advanced Data Grid
          Level 7

          "nash99" <webforumsuser@macromedia.com> wrote in message
          news:gfhpem$l6n$1@forums.macromedia.com...
          > Hi ,
          > I was trying to use the "styleFunction" property in the advanced
          > datagrid .
          > Can I change the column color using this property (I know tht we can
          > change
          > the rowColor using
          > return { rowColor:0xFF0000, fontWeight:"bold" }; ) ?
          > Can anyone send me an example on how to change the column color using
          > the
          > styleFunction.

          You'll need to create a custom itemRenderer that has its own
          backgroundColor.

          HTH;

          Amy