Venkat

This happens ONLY when I press the left mouse button and start
dragging.

On Dec 16, 9:14 pm, "Venkat Viswanathan" <[email protected]>
wrote:
> Hi Harshal,
>
> Does this happen when you drag any of the column header or does it happen
> when you just move your mouse over some columns. The error says that it
> happened during the mouseUpHandler event.
>
> Regards,
> Venkatwww.venkatv.com
>
> On Tue, Dec 16, 2008 at 5:02 PM, Harshal <[email protected]> wrote:
>
> > I have a datagrid which looks like this:
>
> >        <mx:DataGrid
> >                draggableColumns="true"
> >                id="mainGrid"
> >                selectable="true"
> >                visible="true"
> >                dataProvider="{cgModel.contacts}"
> >                horizontalScrollPolicy="off"
> >                styleName="contactGrid"
> >                width="100%"
> >                height="100%"
> >                allowMultipleSelection="true"
> >                rowHeight="18"
> >                paddingTop="0"
> >                paddingBottom="0"
> >                horizontalGridLines="false"
> >                rowColorFunction="selectTypeColor"
> >                headerRelease="customSort(event)"
> >                dragEnabled="true"
> >                dragMoveEnabled="true"
> >                />
>
> > When I move my mouse over this grid I get the following error:
>
> > TypeError: Error #1009: Cannot access a property or method of a null
> > object reference.
> >        at mx.managers.dragClasses::DragProxy/mouseUpHandler()[E:\dev\3.0.x
> > \frameworks\projects\framework\src\mx\managers\dragClasses
> > \DragProxy.as:549]
> >        at
> > mx.managers.dragClasses::DragProxy/mouseLeaveHandler()[E:\dev\3.0.x
> > \frameworks\projects\framework\src\mx\managers\dragClasses
> > \DragProxy.as:448]
> >        at flash.events::EventDispatcher/dispatchEventFunction()
> >        at flash.events::EventDispatcher/dispatchEvent()
> >        at mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks
> > \projects\framework\src\mx\core\UIComponent.as:9051]
> >        at mx.controls.listClasses::ListBase/mouseMoveHandler()[E:\dev\3.0.x
> > \frameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:
> > 8809]
>
> > I've now wasted around 6hours banging my head on this. Been searching
> > all the web for this, but there is no concrete information available
> > on this particular error. Can anybody provide me any clue on this?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to