Hi deeps, it is possible, give these three properties for the dataGrid: dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" See the following example:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" initialize="init()"> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var dgData:ArrayCollection; private function init():void{ dgData = new ArrayCollection([{name:"John", age:25}, {name:"Mary", age:24}, {name:"Sam", age:24}]); } ]]> </mx:Script> <mx:AdvancedDataGrid id="adg1" designViewDataType="flat" dataProvider="{dgData}" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true"> <mx:columns> <mx:AdvancedDataGridColumn headerText="Name" dataField="name"/> <mx:AdvancedDataGridColumn headerText="Age" dataField="age"/> <mx:AdvancedDataGridColumn headerText="Column 3" dataField="col3"/> </mx:columns> </mx:AdvancedDataGrid> </mx:Application> HTH, Sambhav On Mar 30, 11:33 am, deeps <[email protected]> wrote: > Hi All, > I wanna know .. as we can shift column headers/colums with mouse... > Can we shift rows as well..?? with mouse only.. > (I mean changing the position of rows with mouse) > Please help? > Regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

