[flexcoders] Re: DataGridColumn add a button and have the btn label = the returned dataField info

2008-11-14 Thread timgerr
OK, I did this to the button: but now I get warnings when I run the app: warning: unable to bind to property 'ability' on class 'Object' (class is not an IEventDispatcher) What is this and what should I be doing to get the label? Thanks again, timgerr --- In flexcoders@yahoogroups.com, "ti

[flexcoders] Re: DataGridColumn add a button and have the btn label = the returned dataField info

2008-11-14 Thread valdhor
Use an Item Renderer: package renderers { import mx.controls.*; import mx.controls.dataGridClasses.DataGridListData; public class myColumnRenderer extends LinkButton { private var fieldValue:String; public function myColumnRenderer() {

RE: [flexcoders] Re: DataGridColumn add a button and have the btn label = the returned dataField info

2008-11-14 Thread Tracy Spratt
rride the set data(), and asign the button lable in commitProperties(). Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of timgerr Sent: Friday, November 14, 2008 2:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGr