My sample is working on your computer ? I dont have hotfix2 (download in progress). I try with player 9,0,28,0 and 9,0,45,0 on firefox and internet explorer on Windows.
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Tried it in hotfix2, tooltip came up and editor did not lose focus. > Which player, browser, os? > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of nxzone > Sent: Friday, June 01, 2007 12:08 PM > To: [email protected] > 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 > <http://www.adobe.com/2006/mxml> " > layout="absolute"> > <mx:XMLList id="employees"> > <employee> > <name>Christina Coenraets</name> > <email>[EMAIL PROTECTED] <mailto: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> >

