dimanche 6 avril 2014

a question on finding models using key-value

hi all,



we are planning to upgrade our codebase written in GXT 2.x to 3.0, and the first issue we find is - how can we find a specific model in ListStore with key-value pair? for example, in GXT 2.x, we can issue




Code:



ListStore.findModel("customerId", "3");


to find a ModelData in the ListStore which the Customer ID is 3. is there an easy way to accomplish the same task in GXT 3.0?



thanks in advance!

zelda




Aucun commentaire:

Enregistrer un commentaire