This example shows how to use an Ext.grid.Grid
component with a GeoExt.data.store.Layers
to let the user change the visibility of the map layers in an GeoExt
app with the modern toolkit.
Have a look at modern-layerlist.js to see how this is done.