[flexcoders] Flex 2.0 b3: Custom headerRenderer implementation

2006-05-31 Thread stchavan
Hi, In Flex 2, is there an equivalent for the Flex 1.5 method: setValue (text : String) for a headerRenderer? I need to be able to dynamically set the values of a label displayed in the headerRenderer and also programmatically set an instance variable defined in the headerRenderer. I was sea

[flexcoders] Re: Flex 2b3 : columnIndex inside labelFunction for dynamic datagrid column

2006-05-31 Thread stchavan
and grab the index. > >  > > Joan > >  > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of stchavan > Sent: Tuesday, May 30, 2006 8:54 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Flex 2b3

[flexcoders] Flex 2b3 : columnIndex inside labelFunction for dynamic datagrid column

2006-05-30 Thread stchavan
Hi, I am trying to use a labelFunction for a datagrid with dynamically created columns. How can I get the columnIndex for a column from within the labelFunction? Regards! Santosh -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Searc

[flexcoders] Flex 2b3 : itemEditBegin example needed for datagrid

2006-05-23 Thread stchavan
Hi, Can somebody provide an example for using an itemEditBegin event handler for a datagrid? The Flex 2b3 documentation states that it can be used to modify the data passed to the item editor. But the example given therein, uses itemEditEnd (for modifying data received from an item editor).

[flexcoders] Flex 2b3: columnIndex in datagrid itemRenderer

2006-05-18 Thread stchavan
Hi, In an itemRenderer, how do I get the columnIndex for a datagrid cell while rendering? Since it is not a drop-in itemRenderer, I do not have access to listData and hence cannot use DataGridListData(listData).columnIndex. Regards! Santosh -- Flexcoders Mailing List FAQ: http://

[flexcoders] rowIndex & columnIndex while rendering in Flex 2.0

2006-03-10 Thread stchavan
Hi, In Flex 2.0, we can get rowIndex and columnIndex for a datagrid cell, when it is being edited, by using event.rowIndex and event.columnIndex (where event is a DataGridEvent like cellBeginEdit, cellEndEdit etc.) Similarly, how can we retrieve the rowIndex and columnIndex, when a cell is bein