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 am able to add href anchor tags but they only open
in a new window with the right mouse click. 

The datagrid itemclick 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
datagridcolumn.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? I am not sure how to approach
this.
-- 
View this message in context: 
http://old.nabble.com/Multiple-linkbuttons-added-through-datagrid-itemrenderer-actionscript-tp27131967p27131967.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to