0 Replies Latest reply on Sep 16, 2007 2:23 AM by jazz17782

    DataGridsColums and CheckBoxes

      HI Guys,

      I'm trying to set the value of a checkbox in a datagrid column, to the result of some value in a method of a script that i'm running, I have the following code;



      public function someMethod():Boolean{
      return true;
      else {
      return false;

      <mx:DataGridColumn dataField="onSale"
      headerText="On Sale"
      <mx:CheckBox selected="false">


      However when I do this I get the following error;

      "Call to a possibly undefined method someMethod"

      why is this?