Skip navigation
Currently Being Moderated

Help with createPendingItemFunction

Apr 10, 2012 8:57 AM

I have a datagrid with paging functionality. Everything works as long as I scroll somewhat slow. But if I scroll very fast ot better yet select first row and then press end it crashes. The error is coming out of the following code:

public function setItemAt(item:Object, index:int):Object

    {

        if (index < 0 || index >= length)

        {

            var message:String = resourceManager.getString(

                "collections", "outOfBounds", [ index ]);

            throw new RangeError(message);

        }

....

which is an SDK code.

 

I can manage to not to get an error but then I see that a hlaf on the grids has blank rows.

 

Any idea what to do?

 

Thanks

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points