ExtJS, query Store

1. dohvati store objekt

var deviceStore = Ext.data.StoreManager.lookup('Nvision.store.Devices');

2. napravi query, dohvati record kojemu je ‘DataSourceID’ = 37

deviceStore.findRecord('DataSourceID', 37);

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.