[flexcoders] Recognizing when a CheckBox inside a DataGrid is clicked

2005-11-10 Thread fowleryj
[env: Flex 1.5 with Cairngorm architecture] I am using the CheckBoxCellRenderer provided by Peter Ent via this download: http://www.markme.com/pent/archives/flex/solutions/cellrenderers.zip I have my program working such that when a user clicks the Save button in my mxml file, all the rows whose

Re: [flexcoders] Recognizing when a CheckBox inside a DataGrid is clicked

2005-11-10 Thread JesterXL
Gotta use editField or dispatch an event. The examples in the Flex docs on cellrenderers is a good one to look at. If you want to allow the CheckBox to screw with the data in his cellRenderer, do this in his click function: listOwner.editField(getCellIndex().itemIndex, getDataLabel(),

RE: [flexcoders] Recognizing when a CheckBox inside a DataGrid is clicked

2005-11-10 Thread Malcolm
You could simply use listOwner.editField inside the cell renderer. For example something like: mx:CheckBox click=this.clickCheckBox( event )/ function clickCheckBox () { listOwner.editField( getCellIndex().itemIndex, My_Date_Column_Name_To_Update, Date() ) } Thus when a user clicked the