0 Replies Latest reply on Dec 16, 2006 8:37 PM by JerryBauer

    Sorting Data Not Working

      Hi guys -

      Here's my issue - I have a datagrid filled with approximately 300 records. When I do a sort on any column and then click the first row, I get the following error message:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at HomeView2/boxSelect()
      at HomeView2/__packList_itemClick()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::mouseClickHandler()

      I'm using an itemClick="{functionName(event)}" which is simply calling the passed in event (as ListEvent) to grab event.target.selectedItem.attributeName. Any row pass the first one works fine!?!? Any comments? Any help would be greatly appreciated.