RE: [flexcoders] Re: How to change the Datagrid column header length

2006-06-28 Thread Subba Chalamalasetty
data(value:Object):void { super.data = value; super.invalidateDisplayList(); } }} --- In flexcoders@yahoogroups.com, Subba Chalamalasetty [EMAIL PROTECTED] wrote: Hi, I want to change the 'height' of the header in the column i.e I want it to be double the size of row size and add

[flexcoders] How to change the Datagrid column header length

2006-06-27 Thread Subba Chalamalasetty
Hi, I want to change the height of the header in the column i.e I want it to be double the size of row size and add a label below the header text So the column header will be in 2 lines and double the size of the present size. Can somebody help me how to increase the height in

[flexcoders] Internal error

2006-06-19 Thread Subba Chalamalasetty
Hi, I am getting this error An internal error occurred during Updating Problems view:, java.lang.ClassCastException Can somebody help me to resolve this errorI have no idea about it. Thanks Subba __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] DataGridColumn Item Renderer

2006-06-15 Thread Subba Chalamalasetty
I have a data grid and there are 10 columns and 5 rows in that. I am trying to use itemRenderer = myRenderer - myRenderer.mxml -- ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml mx:Label textAlign=right text={data.name} alpha=0.1

RE: [flexcoders] Re: calling custom component methods inside the parent application

2006-06-15 Thread Subba Chalamalasetty
Hi Chaitu,   Here is the solutiontry this code If your datafield name is user mx:DataGridColumn headerText=user name dataField=user/ Then write a itemRenderer ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml mx:Script      ![CDATA[

RE: [flexcoders] Re: DataGridColumn Item Renderer

2006-06-15 Thread Subba Chalamalasetty
Subba, Here is a very simple example of how to do that: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=443 You can right-click on the example to see the code. I hope that this helps you, Tim Hoff --- In flexcoders@yahoogroups.com, Subba Chalamalasetty [EMAIL PROTECTED

RE: [flexcoders] Re: DataGridColumn Item Renderer

2006-06-15 Thread Subba Chalamalasetty
--- In [EMAIL PROTECTED]ups.com, Subba Chalamalasetty subba@ wrote: Hi Tim, I checked the example. Again it is checking the entire column data and setting the color.. public function init():void { if (data.accountBalance 0) { accountBalance.setStyle(color,red