Using Item Renderer to get ListData

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Using Item Renderer to get ListData

    Anyone have code to use the item renderer to return the data in an
    AdvancedDataGrid. Want to be able to get the data from a node that is right
    clicked to set a context menu. Using item roll over does not work since the
    mouse moves to select menu items and thus the action is applied to the wrong
    node. Thanks.

    fossx Guest

  2. Similar Questions and Discussions

    1. Datagrid item renderer delete button
      I have a datagrid with an item renderer. In the item renderer is a delete button img. Onclick it will remove the item from the datagrid with the...
    2. TileList Item Renderer
      In my Item Renderer for my Tilelist component, I want to know how to set the source of the image and label components. I am having trouble because...
    3. Item Renderer complains about binding
      I have a data grid bound to an xml list. In the datagrid, I am using an item renderer: <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"...
    4. Item renderer - accessing component properties
      I have a component containing datagrid. Inside itemrenderer I am aware of the data and listData object that are availlable. Is there also a way to...
    5. Item Renderer in a Datagrid
      I'm struggling with how to make a check mark ( image ) show up or not based on the value of some data in each datagrid line item. I'm using an item...
  3. #2

    Default Re: Using Item Renderer to get ListData

    I haven't used right click, but in the handler, you should be able to get a
    reference to the itemRenderer, or whatever you click in it by using
    event.target or event.currentTarget. If your data is exposed as a public
    property of the renderer, then you can access it.

    Tracy

    ntsiii Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139