O'Reilly logo

Ext GWT 2.0 Beginner's Guide by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Advanced grid features

In the previous chapter, we introduced grid controls. However, we only looked at the most basic of Grid features. Grids are very powerful and there are many options for expanding and customizing them. Let's look at some of the requirements that we may come across and how grid features can help.

HeaderGroupConfig class

Suppose we wanted to compare the population of Eastern European countries in the year 2000 with the population in 1950 in a grid, we could display them like this:

Country

1950 Population (000's)

2000 Population (000's)

Belarus

7745

10054

Bulgaria

7251

8006

Czech Republic

8925

10224

Hungry

9338

10215

Or we could group the columns like this:

Country

Population (000's)

 

1950

2000

 

Belarus

7745 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required