Skip navigation
Currently Being Moderated

passing parameters to ItemRenderer in DataGroup

Apr 5, 2013 5:12 AM

Tags: #itemrenderer #datagroup #flex4 #passing #parameter

Hi,

 

I am trying to create a flexible form using Spark DataGroup.

It has an itemRenderer inside (external class), so I need to pass a data object to it.

User can create/delete form items inside DataGroup, fill it in and submit.

After that the data has to be processed.

I tried to do it using "set data",

but it is not working correctly, I can not get collection of my data objects from outside DataGroup.

 

Please help!

 

TIA,

Oleg.

 
Replies
  • Currently Being Moderated
    Apr 5, 2013 2:35 PM   in reply to olegkon

    Item renderer should have an access to data property which is set when you assign a dataProvider for DataGroup.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points