[Users] Synchronized two GridPanel with selectFeature
François Boussuges
f.boussuges at gmail.com
Wed Jun 2 15:56:15 CEST 2010
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
>
>
More information about the Users
mailing list