Re: Upadate Data of CellList

2011-02-28 Thread Andreas
I hold the list internally and add the incoming data to it. So it works when I call updateRow(0, wholeList). But I dont won't the browser force to render the whole list. Lets say initially the list has 50 items, I dont want to render 500 items after 9 loads, but only to render 50 for every load. T

Re: Upadate Data of CellList

2011-02-28 Thread Jeff Schwartz
How are you maintaining the reference to the list of data objects you want to render? On Mon, Feb 28, 2011 at 9:26 AM, Greg Dougherty wrote: > Well, I haven't looked at the Showcase example, but I'd bet good money > that those null pointers are the result of your actions, not anything > in GWT. >

Re: Upadate Data of CellList

2011-02-28 Thread Greg Dougherty
Well, I haven't looked at the Showcase example, but I'd bet good money that those null pointers are the result of your actions, not anything in GWT. Are you disposing of the data you got from the server after your call to updateRow? Remember, YOU are providing the data to the renderer. That means

Re: Upadate Data of CellList

2011-02-25 Thread Andreas
> If you're only adding to the end of the list, then keep track of how > many items you've already added, and call updateRowData (prevNumAdded > - 1, newData); > Unfortunately this works only on initial filling. The second time I call this I've got nullPointers in my cell.render method for the fi

Re: Upadate Data of CellList

2011-02-24 Thread Greg Dougherty
If you're only adding to the end of the list, then keep track of how many items you've already added, and call updateRowData (prevNumAdded - 1, newData); If you're changing things / adding things in the middle, you can do all sorts of complicated things to figure out where the changes are, and onl

Upadate Data of CellList

2011-02-24 Thread Andreas
I have a celllist where I want add data loading from server and the list should show all data. I use a AnsyncProvider and when I succecfully get my data from the server I want to add the data to the celllist. The only way I got this work is to hold a list of the data I've got from the server, wher