Post a sample app that can be run. Remove
anything that is not necessary to show the problem.
Tracy
Here is the code I am using.
DATGRID (deletedx.mxml)
<mx:DataGrid
rowHeight="75" width="800" height="302"
alternatingRowColors="[#fafafa,#ffffff]"
useRollOver="false" selectable="FALSE" >
<mx:Model
id="DXList" source="dxlist.xml"/>
<mx:dataProvider>{DXList.dxinfo}</mx:dataProvider>
<mx:columns>
<mx:Array>
<mx:DataGridColumn
headerText="Dx Code" columnName="dxcode"
textAlign="center" width="75"/>
<mx:DataGridColumn
headerText="Dx" columnName="dxdesc"
textAlign="center" width="455" />
<mx:DataGridColumn
headerText="Dx Source" columnName="dxsource" textAlign="center"
width="85"/>
<mx:DataGridColumn
headerText="Reason" columnName="reaon"
textAlign="center" cellRenderer="selectreason"/>
</mx:Array>
</mx:columns>
</mx:DataGrid>
DATAPROVIDER (dxlist.xml)
<DxList>
<dxinfo>
<dxcode>129622</dxcode>
<dxdesc>AMAJOR
DEPRESSIVE AFFECTIVE DISORDER SINGLE EPISODE MODERATE DEGREE</dxdesc>
<dxsource>ECS</dxsource>
</dxinfo>
<dxinfo>
<dxcode>229622</dxcode>
<dxdesc>BMAJOR
DEPRESSIVE AFFECTIVE DISORDER SINGLE EPISODE MODERATE DEGREE</dxdesc>
<dxsource>ECS</dxsource>
</dxinfo>
<dxinfo>
<dxcode>329622</dxcode>
<dxdesc>CMAJOR
DEPRESSIVE AFFECTIVE DISORDER SINGLE EPISODE MODERATE DEGREE</dxdesc>
<dxsource>ECS</dxsource>
</dxinfo>
<dxinfo>
<dxcode>429622</dxcode>
<dxdesc>DMAJOR
DEPRESSIVE AFFECTIVE DISORDER SINGLE EPISODE MODERATE DEGREE</dxdesc>
<dxsource>ECS</dxsource>
</dxinfo>
</DxList>
COMBOBOX CELLRENDERER (selectreason.mxml)
<?xml
version="1.0" encoding="utf-8"?>
<mx:VBox
xmlns:mx="http://www.macromedia.com/2003/mxml"
marginLeft="0" marginBottom="0" marginRight="0"
marginTop="0" height="25" backgroundAlpha="0" width="100"
verticalAlign="middle" horizontalAlign="center" >
<mx:ComboBox
height="20" cornerRadius="2" textAlign="left"
rowCount="4" id="reasons">
<mx:dataProvider>
<mx:Array>
<mx:String></mx:String>
<mx:String>Incorrect</mx:String>
<mx:String>Resolved</mx:String>
<mx:String>Other</mx:String>
</mx:Array>
</mx:dataProvider>
</mx:ComboBox>
</mx:VBox>
CONFIDENTIALITY STATEMENT - This message and any files or text attached to it
are intended only for the recipients named above, and contain information that
may be confidential or privileged. If you are not an intended recipient,
you must not read, copy, use, or disclose this communication. Please also
notify the sender by replying to this message, and then delete all copies of it
from your system. Thank you.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?>---- HM ADS ?>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?>
---- HM ADS ?>
YAHOO! GROUPS LINKS
|