|
This is 1.5? And chkBusyValue is an
object in your class? You probably need a Delegate for the busyValueLabelFunc col.labelFunction =
mx.utils.Delegate(this, busyValueLabelFunc) As for when you send it through a remote
object, you’ll either need to convert it on the server-side or make sure
you change the value in the object before you actually send it. Or store the boolean
as another value on the object and just send it that way. Matt From:
************************************* var col:DataGridColumn; col = new DataGridColumn(); col.headerText = "Busy Value"; col.columnName = "busyValue"; col.labelFunction = busyValueLabelFunc; selectedFieldsGrid.addColumnAt(4,col); ************************************************* Label Function is: ********************************************** function busyValueLabelFunc(item):String { if chkBusyValue.selected) { return "busy"; } if (!chkBusyValue.selected) { return "-"; } } ************************************** Whenevr I drag a row from another grid to this grid having busy
Value column.... value in Busy Value column is always "-"...irrespective of
state of checkBox... Other problem is...when a row is added in the grid ...it is always
saved in the session thru remote Object... and the row is send to remote Object as a Java Class Object... In java class object I want to set the busy Value as true or false.... If anybody knows how to do it... plz help me!!!!!!!!!!!!!! Its really urgent! Jiyo cricket on Yahoo!
India cricket |
- RE: [flexcoders] regarding data Grid and remote Object Matt Chotin

