Wednesday, March 30, 2011

CellListExample error???

Hi,

going through the example on the GWT site and tried to look up
setVisibleRange method for the CellList widget... No such method in
GWT 2.2... What am I missing?


Here is the snippet from this page:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html.
It's the first example under the "Providing Dynamic Data" section.
*****************
// Create a CellList that uses the cell.
CellList<String> cellList = new CellList<String>(textCell);

// Set the range to display. In this case, our visible range is
smaller than
// the data set.
cellList.setVisibleRange(1, 3);

*****************

Thanks,
Yaakov.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment