0 Replies Latest reply on Aug 7, 2007 5:39 AM by shawnyale

    Using PrintDataGrid with mx:List

    shawnyale
      I have a list of items that are being rendered using an itemRenderer. I followed the steps to set up the PrintDataGrid but am confused as to what I need to use as my dataField on the printDataGrid DataGridColumn property.

      My code looks like this:
      -----Page-----
      <mx:List id="lstMeetings" dataProvider="{CommunityModelLocator.getInstance().meetingList}" itemRenderer="view.meeting.MeetingListItem" />

      ---Print Component---
      <mx:PrintDataGrid id="PrintMeetings">
      <mx:columns>
      <mx:DataGridColumn dataField="meeting"/>
      </mx:columns>
      ...

      Any help would be greatly appreciated.
      I'm only about 1 week into my Flex training so if possible, explain it for a total newbie.

      Thank you SO much!