5 Replies Latest reply on Apr 21, 2007 8:18 PM by Kasem_Abotel

    Error 1010 when vertically scrolling dynamically populated datagrid

    berklee
      http://www.mail-archive.com/flexcoders@yahoogroups.com/msg49767.html

      Here's an example of what I'm running into (and the code is much neater). For some reason, as soon as I try to scroll vertically, I get:

      TypeError: Error #1010: A term is undefined and has no properties.
      at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::scrollVertically()
      at mx.controls::DataGrid/mx.controls:DataGrid::scrollVertically()
      at mx.controls.listClasses::ListBase/set verticalScrollPosition()
      at mx.controls::DataGrid/mx.controls:DataGrid::scrollHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()
      at mx.controls.scrollClasses::ScrollBar/ http://www.adobe.com/2006/flex/mx/internal::dispatchScrollEvent()
      at mx.controls.scrollClasses::ScrollThumb/::mouseMoveHandler()

      Does anyone know the fix to this?