[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
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(),
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
3 matches
Mail list logo