[Users] FeatureStore with empty grid
Sascha Müller
s.mueller76 at arcor.de
Thu Sep 3 13:42:28 CEST 2009
Hi,
yes, I use layout:"fit"
Here is the code for the gridPanel:
var gridPanel = new Ext.grid.GridPanel({
id: 'fg',
title: "Attribute",
region: "south",
stripeRows: true,
height: 160,
split: true,
minSize: 160,
collapsible: true,
store: store,
cm: new Ext.grid.ColumnModel([
{id: "linie", header: 'Linie', dataIndex: "Linie", sortable:
true},
{id: "name", header: 'Name', dataIndex: "Name", sortable: true},
{id: "x", header: 'X', dataIndex: "X", sortable: true},
{id: "y", header: 'Y', dataIndex: "Y", sortable: true},
{id: "einst", header: 'Einst', dataIndex: "Einst", sortable:
true},
{id: "ausst", header: 'Ausst', dataIndex: "Ausst", sortable:
true},
{id: "standzeit", header: 'Standzeit', dataIndex:
"Standzeit", sortable: true}
]),
sm: new GeoExt.grid.FeatureSelectionModel()
});
Sascha
> On Thu, Sep 3, 2009 at 12:02 PM, Sascha Müller<s.mueller76 at arcor.de> wrote:
>
>> Hi,
>>
>
> Hi
>
>
>> I want to load the gridPanel with features read from a WMS Layer, see below.
>> I use the FeatureStore and it seems it works. With Firebug, I can see
>> that the
>> response contains the attributes I expected. But the grid is still empty.
>> There is no Error message.
>>
>> What seems to be the problem? Is there something special I have to
>> consider, what I can't see in the examples?
>>
>
> Seeing the code creating the grid panel would help people help you.
>
> Do you have layout:"fit" in your grid panel's container?
>
> Cheers,
>
>
More information about the Users
mailing list