On 3/14/06, t_msreddy <[EMAIL PROTECTED]> wrote: > I have the same problem. I need to know rowIndex and columnIndex to > populate values in cellrenderer (Please see the code for both > below). Also I get the error: > ------------------ > ReferenceError: Error #1069: Property text not found on WeekHoursCR > and there > is no default value [snip]
> ----------------- > This is my Cellrenderer (WeekHourCR.mxml): > ----------------- > <?xml version="1.0" encoding="utf-8"?> > <mx:HBox xmlns:mx="http://www.macromedia.com/2005/mxml" width="100%" > height="100%" horizontalGap="0" verticalAlign="top" > > <mx:TextInput id="weekHoursActual" width="40" height="20" > textAlign="center" text="{(dataObject.employeeHours > [0]).forecastHours}" /> > <mx:TextInput id="weekHoursForecast" width="40" height="20" > textAlign="center" text="{(dataObject.employeeHours > [0]).actualHours}" /> > </mx:HBox> > ----------------- It's trying to access the non-existent `text` property on HBox. Add a `text` property, or, faster, set `editorProperty` to "label" and bind the HBox's label to the TextInput's text. <HBox label="{weekHoursActual.text}"> <TextInput id="weekHoursActual" text="{...}" /> ... Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

