This solution is interesting but I dont understand all in:
var records = grid.store.find('ID_SITE', id);
grid.getSelectionModel().selectRecords(records);
'ID_SITE' or id is a value?
If i take this exemple; id_site=15 what is the correct synthax of the
script?
Pierre Giraud a écrit :
>> Actually I can select the ID_SITE of my selected features but I don't
>> know what do I do to select the rows with the same ID_SITE in my second
>> gridpanel (gridpanel2.selectRows?).
>>
>
> var records = grid.store.find('ID_SITE', id);
> grid.getSelectionModel().selectRecords(records);
>
> Regards,
> Pierre
>
>
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users