O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

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

Formatting cell data

Data formatting in cells is very critical to the success of the GXT grid. Imagine you have to render a date with a particular date format, or an age cell with minor or adult appended to the data depending on the age value, or even a numeric cell value displayed as standard decimal but with red if negative and green if positive, or even another color if above a certain value.

No matter what your cell formatting needs will be, you are welcome to allow your imaginations to run wild because the various in-built data formatters, and those you can cook-up with the aid of a GridCellRenderer, will mostly suffice.

Formatting cell data

How to do it...

Create ...

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