1 Reply Latest reply on Jan 23, 2009 9:19 AM by Newsgroup_User

    Datafield and columnname in datagrid

    Erxar
      Hi,

      Would you by any chance know how to pass column name or colum dataField property or even DataGridColum object it self to the ItemRenderer assigned to the column in DataGrid?

      Thanks.

      Edit: Usualy in this kind of situations, since i know Flex is a pice of s*** and often dosn't support OBVIOUS things, i subclass it's components. This time even this won't work since functions responsible for ItemRenderer creation are mx_internal and i CAN"T override them. This is my every day work with Flex ... every day i find this kind of s*** on my way and boy i'm tired of it ...
        • 1. Re: Datafield and columnname in datagrid
          Level 7

          "Erxar" <webforumsuser@macromedia.com> wrote in message
          news:glc9a4$97$1@forums.macromedia.com...
          > Hi,
          >
          > Would you by any chance know how to pass column name or colum dataField
          > property or even DataGridColum object it self to the ItemRenderer assigned
          > to the column in DataGrid?

          If you use a component that implement IDropinListItemRenderer or implement
          it yourself, you can get this information from the listData property.

          HTH;

          Amy