I have a datagrid column that for each row, has several text values each with
its own hyperlink. 

Ex: the data in the datafield looks like: "Atext, Btext, Ctext".  As it is
now, I was able to add href anchor tags but they only open in a new window
with the right mouse click. The datagrid item click event takes over the
left mouse click and I am not sure how to prevent that. So I thought I would
add multiple link buttons in the datagrid column instead. My question is how
to add these multiple buttons using an itemrenderer in actionscript. If I
was adding just one I would assume it would be datagrdcol.itemrenderer = new
ClassFactory(LinkButton) and then you just set the properties of the link
button. But how do you do it if there are multiple buttons for the data in
the datafield. Do you extend the LinkButton or list data in a
customitemrenderer class? How?
-- 
View this message in context: 
http://old.nabble.com/Multiple-linkbuttons-added-through-datagrid-itemrenderer-actionscript-tp27105744p27105744.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to