title: flex, defined type, get data, grid
body: <p>I have a data type defined like this and i want to use it in the flex4.6  dataGrid.</p>
  
  <pre><code>package data
  {
      [Bindable]
      public class GridDataItem{
          protected var avatar:String;
          protected var name:String;
          protected var email:String;
  
          public function GridDataItem(avatar:String, name:String,email:String){
              this.avatar = avatar;
              this.name = name;
              this.email = email;
          }
      }
  }
  </code></pre>
  
  <p>but i wondering how to reference one property in it.  beside this i also want to set the source picture which is saved as avatar in this datatype object, and the first column will display the avatar for each row .  </p>
  
  <p>anyone have any ideas ? thx million.</p>