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].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.