1 Reply Latest reply on Jan 27, 2011 10:27 PM by kiran7881

    Image is not being properly Rendered inside Custom Itemrenderer of  DatagridColumn

    kiran7881 Level 1

      Hi ,

       

      I am using Custom Item Renderer for Datagrid to display Images .

       


      <mx:DataGridColumn  showDataTips="false">
              <mx:itemRenderer>
                  <mx:Component>
          <navigation:ViewElement/>
                      </mx:Component>
              </mx:itemRenderer>
      </mx:DataGridColumn>

       

       

       

      This ViewElement.mxml consists of this Thing

       

      <mx:VBox>
          <mx:Image id="delImage" source="http://media.linkedin"/>
          <mx:Label id="viewname" text="sometext" maxWidth="{this.width}" truncateToFit="true" height="18"  styleName="viewElementLabel" />
          </mx:VBox>

       

       

       

      Now the Problem is taht the for the First Time the Image is not shown properly (I mean only the Head Upto Hair of the Person is shown)

       

      But from Next Time Onwards teh Full Image is displayed .

       

      Please tell me know what might be the problem here

       

      Thanks for reading .