any Solution to resolve the issue??? Regards, Malavika.
On Oct 7, 3:55 pm, malavika <[EMAIL PROTECTED]> wrote: > Hi Everyone, > I'm surprised to come across such a issue in Flex 2,I have a > datagrid for which i have been adding ComboBox using Itemrenderer.when > i make a change on any of the ComboBox, later on if move the mouse up/ > down an automatic scroll is happening on datagrid.....I could not > really control the behaviour. Run the below, you can observe the above > behaviour. Could anyone tell me how to resolve the issue? > MyCode : > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > width="100%" height="100%" layout="absolute" > verticalScrollPolicy="auto" > horizontalScrollPolicy="auto" > > <mx:Array id="arr"> > <mx:Object label="User 1" data="1" /> > <mx:Object label="User 2" data="2" /> > <mx:Object label="User 3" data="3" /> > <mx:Object label="User 4" data="4" /> > <mx:Object label="User 5" data="5" /> > <mx:Object label="User 6" data="6" /> > <mx:Object label="User 7" data="7" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > <mx:Object label="User 8" data="8" /> > </mx:Array> > <mx:DataGrid width="452" height="40%" dataProvider="{arr}" > horizontalScrollPolicy="auto" lockedColumnCount="4" x="141" y="119"> > <mx:columns> > <mx:DataGridColumn headerText="Name1" > dataField="label" width="80" / > > <mx:DataGridColumn headerText="Name1" > width="100" > headerWordWrap="true" > > <mx:itemRenderer> > <mx:Component> > <mx:ComboBox > > > <mx:dataProvider> > > <mx:ArrayCollection> > > <mx:source> > > <mx:String>Data1</mx:String> > > <mx:String>Data2</mx:String> > > <mx:String>Data3</mx:String> > > <mx:String>Data4</mx:String> > > <mx:String>Data5</mx:String> > </ > mx:source> > </ > mx:ArrayCollection> > </ > mx:dataProvider> > </mx:ComboBox> > </mx:Component> > </mx:itemRenderer> > </mx:DataGridColumn> > <mx:DataGridColumn headerText="Name1" > dataField="label" width="80" / > > <mx:DataGridColumn headerText="Name1" > dataField="label" width="80" / > > <mx:DataGridColumn headerText="Name1" > dataField="label" width="80" / > > </mx:columns> > </mx:DataGrid> > </mx:Application> > > Regards, > Malavika. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

