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

Custom rendering for grid groups

Displaying grid records in groups can give the user powerful insight into their data especially when combined with sorting. However, the default rendering style of GroupingView may not meet the requirement of the user. Thankfully, GXT provides a mechanism that allows customization on the rendering and formatting of grouped data thereby giving the user better gratification.

In a grid of company stocks grouped by an industry column, we could customize the groupings so that the number of items in each grouped will be displayed.

Custom rendering for grid groups

How to do it...

Create a grid with GroupingStore instead of the standard ListStore and invoke ...

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