This is working but is not exacly what i'm doing... I want to find why
my code is not working...

--- In flexcoders@yahoogroups.com, "Harish Sivaramakrishnan"
<[EMAIL PROTECTED]> wrote:
>
> are you looking at something like this?
> http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/
> 
> On 6/3/07, Alex Harui <[EMAIL PROTECTED]> wrote:
> >
> >    Tried it in hotfix2, tooltip came up and editor did not lose focus.
> > Which player, browser, os?
> >
> >
> >  ------------------------------
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *nxzone
> > *Sent:* Friday, June 01, 2007 12:08 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] Re: Tooltip in itemeditor of datagrid BUG
or...
> > WIsh...
> >
> >
> >
> > Enter more then 10 character in the email and rollover the
textinput :)
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > <mx:XMLList id="employees">
> > <employee>
> > <name>Christina Coenraets</name>
> > <email>[EMAIL PROTECTED] <ccoenraets%40fictitious.com></email>
> > </employee>
> > </mx:XMLList>
> > <mx:Component id="actionbt" >
> > <mx:TextInput text="" creationComplete="doInit()">
> > <mx:Script>
> > <![CDATA[
> > import mx.validators.StringValidator;
> > public var validator:StringValidator= new StringValidator();
> >
> > private function doInit():void {
> > validator.source= this
> > validator.maxLength=10
> > validator.property="text";
> > validator.trigger=this;
> > validator.triggerEvent ="change";
> > validator.validate();
> > }
> > ]]>
> > </mx:Script>
> > </mx:TextInput>
> > </mx:Component>
> > <mx:DataGrid id="dg" y="200" editable="true" width="100%"
> > height="100%" rowCount="5" dataProvider="{employees}">
> > <mx:columns>
> > <mx:DataGridColumn dataField="name" headerText="Name"/>
> > <mx:DataGridColumn dataField="email" headerText="Email"
> > itemEditor="{actionbt}"/>
> > </mx:columns>
> > </mx:DataGrid>
> >
> >
> > </mx:Application>
> >
> >  
> >
>


Reply via email to