<hbox horizontalscrollpolicy=off /> On Mar 9, 8:16 pm, Akshar <[email protected]> wrote: > use horizontalscrollpolicy = off > > On Mar 9, 8:10 pm, pradeepflex <[email protected]> wrote: > > > Hello Friends, > > > Please help me out this one i have crossed all the possibilities with > > this datagrid > > > I have used one custom item renderer like this.... > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" > > paddingTop="7" implements="mx.core.IFactory"> > > <mx:Script> > > <![CDATA[ > > import mx.controls.RadioButton; > > > public function newInstance():* > > { > > return new custItemRenderer(); > > } > > public function clickEvent(event:MouseEvent):void{ > > > > parentDocument.imageHandler(data.POSITION_ID,data.COLLEAGUE_NAME); > > } > > > ]]> > > </mx:Script> > > <mx:Image id="img" visible="{data.GRID_COUNT > 0}" source="images/ > > srch_plus.gif" click="clickEvent(event)"/> > > <mx:Label id="Lbl" text="{data.COLLEAGUE_NAME}" truncateToFit="true"/> > > </mx:HBox> > > > In some cases if the label data more than width i mentoned in datagrid > > column horzontal scroll bar come in to picture.currently i want to > > disable this feature like default datagrid > > > <mx:DataGridColumn headerText=" Name" sortable="false" > > draggable="false" width="75" id="col1" > > itemRenderer="com.pfizer.gss.modules.view.add_position.custItemRenderer" > > > </mx:DataGridColumn> > > > Thanks for any urgent help................ > > > Regards, > > Pradeep
-- 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.

