use* <mx:Spacer>* if any empty space is left when u r using % for width/height
On Tue, Jan 5, 2010 at 1:06 PM, sankar swaroop <[email protected]>wrote: > b'cas the last column occupies the remaining space left in the ADG > > On Mon, Jan 4, 2010 at 12:36 PM, abhishekchess1 > <[email protected]>wrote: > >> hey frnd, >> when i'm showing ADG width in %, why it taking more space for last >> column, >> is any solution? >> >> this is sample code : >> <?xml version="1.0" encoding="utf-8"?> >> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >> layout="vertical" >> > >> <mx:Script> >> <![CDATA[ >> import mx.collections.ArrayCollection; >> ]]> >> </mx:Script> >> >> <mx:ArrayCollection id="arrColl"> >> <mx:source> >> <mx:Array> >> <mx:Object label="Student A" score="85" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student B" score="48" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student C" score="71" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student D" score="88" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student E" score="24" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student F" score="64" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student G" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student H" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student I" score="93" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student J" score="88" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student K" score="48" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student L" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student A" score="85" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student B" score="48" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student C" score="71" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student D" score="88" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student E" score="24" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student F" score="64" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student G" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student H" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student I" score="93" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student J" score="88" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student K" score="48" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student L" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student A" score="85" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student B" score="48" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student C" score="71" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student D" score="88" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student E" score="24" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student F" score="64" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student G" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student H" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student I" score="93" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student J" score="88" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student K" score="48" score2="12" >> score3="15" score4="16" score5="25"/> >> <mx:Object label="Student L" score="76" score2="12" >> score3="15" score4="16" score5="25"/> >> </mx:Array> >> </mx:source> >> </mx:ArrayCollection> >> >> <mx:VBox width="500" height="100%" > >> <mx:HBox width="100%" height="100%" >> horizontalScrollPolicy="off" >> >> <mx:AdvancedDataGrid id="myADG" editable="true" >> dataProvider="{arrColl}" >> horizontalScrollPolicy="auto" width="100%" height="100%" >> verticalScrollPolicy="auto" >> > >> </mx:AdvancedDataGrid> >> >> </mx:HBox> >> </mx:VBox> >> </mx:Application> >> >> thx in advanced, >> :) >> >> >> -- >> >> 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Thanks & Regards, K. Krishna Chaitanya ARIJASOFT - HYD www.arijasoft.com--
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.

