Thank you!

> -----Original Message-----
> From: Tracy Spratt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 15 March 2005 3:37 PM
> To: [email protected]
> Subject: RE: [flexcoders] Two Button Questions + editable datagrid
> problem
> 
> 
> 
> Set editable="true" on the DataGrid itself, then use the column-level
> properties to turn off any that you want.
> 
> Tracy
> 
> -----Original Message-----
> From: Gina Chin [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 14, 2005 10:14 PM
> To: [email protected]
> Subject: RE: [flexcoders] Two Button Questions + editable datagrid
> problem
> 
> 
> Hi Jeff,
> 
> Thank you for your reply, I appreciate that website and all 
> the goodies.
> However, what our client requires is a toggle button - it has to have
> the button's look and feel. I should be able to just use <mx:Button
> label="press me" toggle="true" /> but strangely it does not work.
> 
> I've just come across another problem which has to do with editable
> datagrid cells. Based on Flex API documentation, this can be 
> done simply
> by setting DataGridColumn's editable property to "true". For 
> some reason
> it does not work for me. (See code pasted below)
> 
> Is the developer's license kwown for having such limitations? 
> As I have
> been using the developer's license and have to live with it until my
> company gets the production license for me in two weeks - I'm 
> wondering
> if these weird behaviours will go away once I get the production
> license.  
> 
> 
> Any insight and suggestions will be very appreciated! Many thanks!
> 
> 
> Gina
> 
> <mx:DataGrid id="qDataGrid" dataProvider="{qData}" vScrollPolicy="on"
> multipleSelection="true"
> columnStretch="EventDrivenDisplay.resizeInputToMatchColumn(qDataGrid,
> qFilter);">
> <mx:columns>
> <mx:Array id="qCols">
> <mx:DataGridColumn columnName="dn" headerText="DN"
> editable="true"/>
> <mx:DataGridColumn columnName="esn" 
> headerText="ESN"
> editable="true"/>
> <mx:DataGridColumn columnName="type"
> headerText="Type" editable="true"/>
> <mx:DataGridColumn columnName="line"
> headerText="Line" editable="true"/>
> 
> </mx:Array>
> </mx:columns>
> 
> 
> </mx:DataGrid>
> 
> 
> 
> 
> > -----Original Message-----
> > From: Jeff Steiner [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, 8 March 2005 3:39 AM
> > To: [email protected]
> > Subject: Re: [flexcoders] Two Button Questions
> > 
> > 
> > 
> > Gina,
> > 
> > I have not played with images on buttons, but I can do so 
> > today and let you
> > know later this evening. I would guess that someone else 
> > will give you an
> > answer before then.
> > 
> > To answer your second question, check out
> > www.flexauthority.com/samplesIndex.cfm on the Beginner tab 
> > and select the
> > mx:CheckBox - Check All / Uncheck All sample to see if that 
> > answers your
> > question. It begins by setting a String to one value and 
> > thenas you click
> > the button it changes the verbage to another. There is also 
> > the script that
> > shows you how the checking is done.
> > 
> > Let me know.
> > 
> > Jeff
> > http://www.flexauthority.com
> > 
> > ----- Original Message ----- 
> > From: "Gina Chin" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Sunday, March 06, 2005 2:33 PM
> > Subject: [flexcoders] Two Button Questions
> > 
> > 
> > >
> > > Hi all,
> > >
> > > I am new to Flex and Actionscript, and only started 
> > prototyping for our
> > new project (a UI application on a J2EE server) a week ago. 
> > It's been a fun
> > learning this technology and the Cairngorm framework does 
> > present a very
> > neat framework that suits our purpose well.
> > >
> > > However I've come across two small problems.....could 
> > someone please point
> > me in the right direction (I'm using Developer Edition of Flex 1.5):
> > >
> > > 1. I have a button whose face is completely occupied by a 
> > .gif image. When
> > the button is disabled, it is expected that the image will be 
> > grayed out in
> > addition to having a flat appearance. Do I need to swap the 
> image file
> > references whenever the image is enabled/disabled, or is 
> > there a better way
> > of achieving the same effect in Flex?
> > >
> > > 2. Another button I have is meant to be a toggle button so 
> > I used the
> > syntax:
> > > <mx:Button label="Is" toggle="true" selected="true" />
> > > But this does not have the toggled effect - it looks 
> > exactly the same
> > whether I set "toggle" property to true or not. I thought it 
> > should be quite
> > straightforward so please suggest what's my blindspot!
> > >
> > >
> > > Thank you in advance.
> > >
> > > Gina
> > > > 
> ######################################################################
> Attention: 
> 
> The information in this electronic mail is privileged and
> confidential, intended only for use of the individual or entity named.
> If you are not the intended recipient, any dissemination, copying or
> use of the information is strictly prohibited. If you have received
> this transmission in error, please delete it immediately from your
> system and inform us via e-mail : [EMAIL PROTECTED]
> 
> This e-mail has been scanned and cleared by MailMarshal 
> ######################################################################
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
######################################################################
Attention: 

The information in this electronic mail is privileged and
confidential, intended only for use of the individual or entity named.
If you are not the intended recipient, any dissemination, copying or
use of the information is strictly prohibited. If you have received
this transmission in error, please delete it immediately from your
system and inform us via e-mail : [EMAIL PROTECTED]

This e-mail has been scanned and cleared by MailMarshal 
######################################################################


Reply via email to