On 3/15/06, t_msreddy <[EMAIL PROTECTED]> wrote:

> What if I have two textboxes in the cellRenderer
> <HBox label="{weekHoursActual.text}">
>   <TextInput id="weekHoursActual" text="{...}" />
>   <TextInput id="weekHoursForecast" text="{...}" />
> </HBox>
>
> what will the editorProperty be?

If my understanding is correct (and I don't have access to the docs
ATM), "editorProperty" is the property that contains the data.  It has
to be one property.  In your above case, the editorProperty will still
be "label" (HBox).  The question is, which of the two text boxes will
populate the label?  That's for you to answer.  It could be both.

> Also can you tell me how to get the rowIndex and columnIndex. My
> dataProvider to DataGrid is 2 Dimensional, one dimension represents
> the row and the other the columns so that any cell(i,j) value will
> be dataProvider[i][j].
> So I need to know atleast columnIndex in Cellrenderer so that my
> value will in it will be dataObject.object[columnIndex].someValue.

The row and column index is in the listData property.  This has been
answered a number of times recently - look up the archives.

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/
 



Reply via email to