PDA

View Full Version : What is store.getAt(0) ?



gameboy87
9 Jul 2012, 8:35 PM
Can someone explain what is store.getAt(0) means ? Thanks.

evant
9 Jul 2012, 8:53 PM
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Store-method-getAt

sword-it
9 Jul 2012, 9:35 PM
Hi!

store.getAt(index) is used to return a specified indexed record from your store.

if any record is not found on the specified index, it returns undefined for it.