Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 830743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:05:43+00:00 2026-05-15T04:05:43+00:00

At the 2010 Google IO it was announced that GWT 2.1 would include new

  • 0

At the 2010 Google IO it was announced that GWT 2.1 would include new Data Presentation Widgets. 2.1M is available for download, and presumably the widgets are included, but no documentation has yet surfaced.

Is there a short tutorial or example for how to use them? I’ve seen a rumor that CellList and CellTable are the classes in question. The Javadoc for them is riddled with lots of TODOs, so quite a bit is still missing in terms of usage.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T04:05:44+00:00Added an answer on May 15, 2026 at 4:05 am

    Google I/O 2010 – GWT’s UI overhaul

    javadocs package com.google.gwt.cell.client in 2.1

    Eclipse update site for milestone 2

    While the code is in bikeshed, add this line to your gwt.xml file:

    <inherits name='com.google.gwt.requestfactory.RequestFactory'/>
    

    The following examples follow:

    • CellList of TextCells with
      PageSizePager
    • CellList of TextCells with a
      SimplePager
    • CellList of TextCells with a
      SimplePager and PageSizePager(buggy)
      and
    • CellTable with String header and
      TextCell header

    package dpw.client;
    
    import java.util.ArrayList;
    
    import com.google.gwt.cell.client.TextCell;
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.user.cellview.client.CellList;
    import com.google.gwt.user.cellview.client.CellTable;
    import com.google.gwt.user.cellview.client.PageSizePager;
    import com.google.gwt.user.cellview.client.SimplePager;
    import com.google.gwt.user.cellview.client.TextColumn;
    import com.google.gwt.user.cellview.client.Header;
    import com.google.gwt.user.client.ui.HTML;
    import com.google.gwt.user.client.ui.RootPanel;
    import com.google.gwt.view.client.ListViewAdapter;
    
    public class Index implements EntryPoint {
    
        public void onModuleLoad() {
    
            // create some data
            ArrayList<String> values = new ArrayList<String>();
            values.add("one");
            values.add("two");
            values.add("three");
            values.add("four");
            values.add("five");
            values.add("six");
    
            // create a ListViewAdapter
            ListViewAdapter<String> lva = new ListViewAdapter<String>();
            // give the ListViewAdapter our data
            lva.setList(values);
    
            {
                // CellList of TextCells with PageSizePager
                CellList<String> cl = new CellList<String>(new TextCell());
                // set the initial pagesize to 2
                cl.setPageSize(2);
    
                // add the CellLists to the adaptor
                lva.addView(cl);
    
                // create a PageSizePager, giving it a handle to the CellList
                PageSizePager<String> psp = new PageSizePager<String>(cl, 2);
    
                // add the CellList to the page
                RootPanel.get().add(cl);
    
                // add the PageSizePager to the page
                RootPanel.get().add(psp);
            }
    
            RootPanel.get().add(new HTML("<hr />"));
    
            {
                // CellList of TextCells with a SimplePager
                CellList<String> cl = new CellList<String>(new TextCell());
                // set the initial pageSize to 2
                cl.setPageSize(2);
    
                // add the CellLists to the adaptor
                lva.addView(cl);
    
                // create a pager, giving it a handle to the CellList
                SimplePager<String> pager = new SimplePager<String>(cl,
                        SimplePager.TextLocation.CENTER);
    
                // add the CellList to the page
                RootPanel.get().add(cl);
    
                // add the Pager to the page
                RootPanel.get().add(pager);
            }
    
            RootPanel.get().add(new HTML("<hr />"));
    
            {
                // CellList of TextCells with a SimplePager and PageSizePager
                CellList<String> cl = new CellList<String>(new TextCell());
                // set the initial pageSize to 2
                cl.setPageSize(2);
    
                // add the CellLists to the adaptor
                lva.addView(cl);
    
                // create a PageSizePager, giving it a handle to the CellList
                PageSizePager<String> psp = new PageSizePager<String>(cl, 1);
    
                // create a pager, giving it a handle to the CellList
                SimplePager<String> pager = new SimplePager<String>(cl,
                        SimplePager.TextLocation.CENTER);
    
                // add the CellList to the page
                RootPanel.get().add(cl);
    
                // add the Pager to the page
                RootPanel.get().add(pager);
    
                // add the PageSizePager to the page
                RootPanel.get().add(psp);
            }
    
            RootPanel.get().add(new HTML("<hr />"));
    
            {
                // CellTable
                CellTable<String> ct = new CellTable<String>();
                ct.setPageSize(2);
                lva.addView(ct);
    
                // add a column with a simple string header
            ct.addColumn(new TextColumn<String>() {
    
                @Override
                public String getValue(String object) {
                    return object;
                }
            }, "String Header");
    
            //add a column with a TextCell header
            ct.addColumn(new TextColumn<String>() {
    
                @Override
                public String getValue(String object) {
                    return "%" + object + "%";
                }
            }, new Header<String>(new TextCell()) {
    
                @Override
                public String getValue() {
                    return "TextCell Header";
                }
            });
    
                // create a pager, giving it a handle to the CellTable
                SimplePager<String> pager = new SimplePager<String>(ct,
                        SimplePager.TextLocation.CENTER);
    
                // add the CellList to the page
                RootPanel.get().add(ct);
    
                // add the Pager to the page
                RootPanel.get().add(pager);
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At the Velocity 2010 conference, Google said that header compression can yield big gains
In November 2009 Google announced the release of Closure Tools which include the Closure
I'm attempting to pull in data from Google's Shopping API. I'm able to download
I just watched Batch data processing with App Engine session of Google I/O 2010
I'm talking about VS 2010 Professional/Ultimate RTM (not express versions). Google doesn't show much
I loaded up the .net 3.5 FastMember from http://code.google.com/p/fast-member/source/checkout in VS 2010. The compiler
The latency for a datastore put is about 150ms - http://code.google.com/status/appengine/detail/datastore/2010/03/11#ae-trust-detail-datastore-put-latency . About how
Delphi 2010 has a nice set of new file access functions in IOUtils.pas (I
I read carefully the good UI practice from the Google Dev Blog; http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html and
When Google Analytics return data, it is in XML: (this is just for the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.