Hi Mike,

Instead of using states in your itemRenderer, you can use an 
itemEditor.  Just set the itemEditor property for the DataGrid 
column to a NumericStepper control instead of text.

-TH

--- In [email protected], "Mike Anderson" <[EMAIL PROTECTED]> wrote:
>
> Hello All,
> 
> I am trying to figure out how to tackle the problem of how to 
create
> multiple states of an ItemRenderer for a DataGrid.
> 
> Imagine an editable DataGrid fully populated with data, and then 
the
> Quantity Column being a Numeric Stepper type control.  In the 
Grid's
> normal display mode, I just need all the data to be visible in it's
> native view (unless the Cell is active, once the user clicks 
inside it).
> What I mean by that, is I don't want the Numeric Stepper to be 
repeated
> for each and every record displayed in the Grid.
> 
> Only after the user clicks a specific cell (or Row, in some 
instances)
> do I want the actual ItemRenderer to be visible - thus indicating 
to the
> data-entry person, that there is an alternate way to enter their 
data
> into the Grid cell.
> 
> Is the trick here, to make the ItemRenderer have multiple states
> (visible - true/false) or any other "modes" it needs to be in, 
based on
> which portion of the Grid is active?
> 
> I apologize if this topic has been covered before, my initial 
search
> didn't bring back a whole lot.
> 
> Thanks in advance,
> 
> Mike
>







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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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