0 Replies Latest reply on Mar 22, 2011 3:43 AM by nikos101-gYzbwT

    ADG is not picking up changes from this getter

    nikos101-gYzbwT Level 1

      My ADG is not picking up changes from this getter, is it because the whole class needs to implement IEventDispatcher ?

       

       

      <mx:AdvancedDataGridColumn headerText="Delete" dataField="reviewDate" visible="{userModel.loggedInUser.deleteReview}" id="deleteColumn">

       

       

       

       

      UserModel.as

       

          [Bindable(event="propertyChange")]
              public function get loggedInUser():User
              {

       

                  return _LoggedInUser;
              }

       

       

       

          public function set loggedInUser(value:User):void
              {
                  _LoggedInUser = value;
                  //loggedInUserModified.dispatch();
                  eventDispatcher.dispatchEvent (new Event ("propertyChange"));
              }