you can provide some buttons for these tasks and call the appropriate method in the click handler of the button. in this case you wont have problem with the mouse out and mouse in....
Akshar Kaul On Tue, Mar 23, 2010 at 10:09, adi <[email protected]> wrote: > HI, > > I am new to this programming.I need some help with AdvanceDatagrid > Hide and Show. > > In my code I want to give an option to user to minimise and maximise > datagrid.What I was doing is ,when mouseover I am setting the width > and height of the grid to maximum.On MouseOut I am setting it z width > to minimum.But,I had one problem with this technique.Grid contains > more data,so it has a vertical scrollbar to it.Because of the mouseout > event ,when I try to scroll it, it is minimising the grid.So,not > allowing user to scroll. > > Could anyone please help me,if there is any other way to do this task. > > <mx:AdvancedDataGrid x="0" y="38" width="5" height="700" > mouseOver="expandGrid();" mouseOut="contractGrid();" id="grdList" > ......./> > > private function expandGrid():void > { > grdList.width = 500; > grdList.height = 700; > cnvNavAndQty.visible = false; > } > > private function contractGrid():void > { > grdList.width = 5; > grdList.height = 700; > cnvNavAndQty.visible = true; > > } > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- 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.

