mardi 18 novembre 2014

getAllRecords()-like method in ExtJs Store

Pretty new to posting things, not sure if this is the best place, but I can't post to 'New Feature Requests' for some reason.

Stores have a method getModifiedRecords(), so would it kill to have a method like store.getAllRecords() in an extJS store?


When I want to get all records I have to do something like this :



Code:



var allRecords = store.snapshot || store.data;
allRecords = allRecords.items;

Which is soooo non-intuitive.



getAllRecords()-like method in ExtJs Store

Aucun commentaire:

Enregistrer un commentaire