Re: DataGrid Object not displaying more than 50 items...

2012-01-11 Thread Dan Verkman
To: google-web-toolkit google-web-toolkit@googlegroups.com Sent: Tue, Jan 10, 2012 3:05 am Subject: Re: DataGrid Object not displaying more than 50 items... I believe you'd have to call setPageSize *before* changing your ListDataProvider; but yes, there's no reason it wouldn't work

Re: DataGrid Object not displaying more than 50 items...

2012-01-10 Thread kretel
Do you use the pager with your DataGrid? Also check if you can see elements being added to the DOM (firebug-it). I would have a look at showcase how it works on the example: http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid Kris -- You received this message because you are

Re: DataGrid Object not displaying more than 50 items...

2012-01-10 Thread Bill M
Hi Kris, I looked at the example. But, the example is loading static data and it's using pagination. However, I am loading the data as a result of a DB query in a for loop (all at once), and I'm using a scrollbar to view the data (not pagination). Any other ideas? Thanks, Bill On Jan 10,

Re: DataGrid Object not displaying more than 50 items...

2012-01-10 Thread Bill M
Hi Kris, I was looking more at the sample program you suggested (ContactDatabase.java), and I saw this method: /** * Add a display to the database. The current range of interest of the display * will be populated with data. * * @param display a {@Link HasData}. */ public void

Re: DataGrid Object not displaying more than 50 items...

2012-01-10 Thread Thomas Broyer
DataGrid defaults to a pageSize = 50 (see http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/cellview/client/DataGrid.html#DataGrid()) You have to call setPageSize the either a very big value, or at least the size of your data if you don't want paging. That said,

Re: DataGrid Object not displaying more than 50 items...

2012-01-10 Thread Dan Verkman
Broyer t.bro...@gmail.com To: google-web-toolkit google-web-toolkit@googlegroups.com Sent: Tue, Jan 10, 2012 2:26 am Subject: Re: DataGrid Object not displaying more than 50 items... DataGrid defaults to a pageSize = 50 (see http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt

Re: DataGrid Object not displaying more than 50 items...

2012-01-10 Thread Thomas Broyer
I believe you'd have to call setPageSize *before* changing your ListDataProvider; but yes, there's no reason it wouldn't work: ListDataProviders simply calls setRowCount/setRowData on its attached HasData whenever you change its getList(). -- You received this message because you are

DataGrid Object not displaying more than 50 items...

2012-01-09 Thread Bill M
Hi All, I am trying to load the DataGrid with the results of a query. I have a DataProvider object connected to the DataGrid table, and I use a for loop to do a list.add() of a object I created dynamically that represents a row of data in the table. However, it seems the table does not store