Hi,

I am trying to use a DataGrid to set the ordering of a group of images. 
I want to do this with a DataGrid which will show me some properties of
the images in different columns including a thumbnail of the image.  The
problem is when I use any custom renderer for any column, the draging is
not working.  It works fine when I don't use any ItemRenderer.

My code looks something like this:

   <mx:DataGrid dragEnabled="true"
      dropEnabled="true" dragMoveEnabled="true">

      <mx:columns>
           <mx:DataGridColumn headerText="Thumb"
                     itemRenderer="component.GridImageRenderer"
                     />

                 <mx:DataGridColumn headerText="Current name"
                     width="100"
                     itemRenderer="component.NameRenderer"/>

                 <mx:DataGridColumn headerText="New name"
                     width="150"
                     dataField="nameNew"/>

         </mx:columns>
     </mx:DataGrid>


Can anyone please give me any clue how to fix this?

Regards,
~ Arif


Reply via email to