I have a Spark List with a data provider consisting of a list of filled out form applications. What is the best way to add a button to each List Item (form application)? This button will be named Open and will navigate to the specified form application.
Thanks in advance for any advice!
This is similar to what @www.Flextras.com said, so I’m not going to repeat that. However, I’ll add an example and one or two things.
Your custom ItemRenderer might look like this:
Two things that differ from Flextras’ answer:
coding
ownerof the ItemRenderer, whichis in fact the List that contains this ItemRenderer. Because of this,
you don’t need to bubble the Event.
Now to open the form when the Button is clicked, do something like this: