2 Replies Latest reply on Mar 25, 2008 7:36 AM by Freestyle MD

    imageRenderer in horizontalList control don't work

    dex002
      The imageRenderer works great in this dataGrid like this:

      <mx:DataGrid rowCount="10" variableRowHeight="true" dataProvider="{catalog.job}">

      <mx:columns>

      <mx:DataGridColumn
      dataField="image" headerText="Image"
      itemRenderer="mx.controls.Image"/>


      <mx:DataGridColumn headerText="Name" dataField="name"/>
      <mx:DataGridColumn headerText="Price" dataField="price"/>

      </mx:columns>
      </mx:DataGrid>

      But the imageRenderer does not work in this HorizontalList. I get broken images instead:

      <mx:HorizontalList
      id="hl1"
      dataProvider="{catalog.job}"
      height="75"
      width="100%"
      rowHeight="100"
      columnWidth="100" itemRenderer="mx.controls.Image">
      </mx:HorizontalList>

      I can't figure out why?? Thanks in advance - Dex002