5 Replies Latest reply on Feb 2, 2008 6:12 AM by josh_aries

    Item Renderer and Label Function

    josh_aries Level 1
      I have a grid with the datacolumns that use the labelfunction. So the label function displays a value in the column(like Y or N).

      Now I want to use a button for that column and toggle the button to change the values between Y and N

      How do I accomplish this

      This is the code I am having now

      <mx:DataGridColumn dataField="test" labelFunction="LabelFuncAction"/>

      I am trying to use change it to

      <mx:DataGridColumn dataField="test" labelFunction="LabelFuncAction">
      <mx:Button />

      but the button shows blank text. I am new to flex and I am not sure if I am completely wrong.