Ok so I have a doozie of a datagrid problem. In my application, I use a
datagrid to display all agents/vendors/clients attached to a file, this
works great.

Now my problem is this, I need to add a numeric stepper to my grid. This
stepper is to be used to display/modify agents commission percent. Oh it
goes on yes... When a user enters the edit screen, the datagrid is
automatically populated with all the agents/vendors/clients atteched to
the file. When I try the code below, it gives  as expected a numeric
stepper for each of the parties involved with the file.

Now what I need it to do is this, when a user enters the edit screen,
only the parties labeled as agent should get a numeric stepper, and the
stepper should be populated with the value returned from my cfc. So my
obvious question is how can I do this?


my current grid:


         <mx:columns>
                                 <mx:DataGridColumn headerText="Party
Name"  dataField="FLD_PARTYNAME"/>
                                 <mx:DataGridColumn headerText="Party
Side" dataField="FLD_PARTYSIDE"/>
                                 <mx:DataGridColumn headerText="Party
Type" dataField="FLD_PARTYTYPE"/>
                                 <mx:DataGridColumn dataField="Percent">
                                     <mx:itemRenderer>
                                         <mx:Component>
                                                <mx:NumericStepper
minimum="1.00" maximum="100.00"
                                             stepSize="1.00"
                                             value="00.00"
                                             width="65"/>
                                         </mx:Component>
                                     </mx:itemRenderer>
                                 </mx:DataGridColumn>
                                 <mx:DataGridColumn visible="false"
headerText="UUID" dataField="FLD_PARTY_UID"/>
                             </mx:columns>






--
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