2 Replies Latest reply on Jul 18, 2011 12:40 PM by rtalton

    DataTips for DataGrid displays [object *objectName*] on null values

    vovasurkov

      if I have an ArrayCollection of some objects as dataProvider of DataGrid

       

      <mx:DataGrid id="gd" width="100%" height="100%" rowCount="5" dataProvider="{arr}">
                      <mx:columns>
                          <mx:DataGridColumn showDataTips="true" dataTipField="uni_Codu" dataField="uni_Codu" headerText="Name"/>
                          <mx:DataGridColumn showDataTips="true" dataTipField="uni_Description" dataField="uni_Description" headerText="Phone"/>                   
                      </mx:columns>
      </mx:DataGrid>

       

      arr ArrayCollection of my object Univers

       

        public class Univers
          {
              public function Univers()
              {
              }
          public var  uni_Codu:int;
          public var  uni_Description:String;
          public var  parent_Cod:int;
         }

       

      then on null values i see

       

      1.JPG

       

       

      i want to find some common solution for this problem