Sorry forgot to include my code - here is what I have so far. I can get my
layers to show up no problem but the GridPanel control only shows my legend
entries as object Object  for all of them. 



       var mapPanel = new GeoExt.MapPanel({
        renderTo: 'gxmap',
        height: 400,
        width: 600,
        map: map,
        title: 'A Simple GeoExt Map'
        });

new Ext.grid.GridPanel({
    renderTo: 'layerlist',
    height: 200, width: 200,
    autoScroll: true,
    store: mapPanel.layers,
    columns: [{name: 'name', heading: 'Name'}]
});
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Ext-GeoExt-can-t-get-layer-tree-to-work-tp5484619p5484703.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to