Ext Js - How to Reference Store Values
I'm trying to read grid values from within a load event of my form. The ordersStore.load() loads my grid with data, but I don't get a record returned using getAt. Is there a better way to do this? Thanks. 

    client_form.on({
       actioncomplete: function(form, action){
          if(action.type === 'load'){
	      var suite_no = action.result.data.suite_no;
	      ordersStore.baseParams.suite_no = suite_no;
	      ordersStore.load();
	      var orderRec = Ext.data.Record.create(['order_id', 'suite_no', 'merchant', 'track_no', 'invoice_no', {name:'total',type: 'float'},  {name:'weight',type: 'float'}, 'status']);
	      var orderRec = ordersStore.getAt(0);
	      Ext.Msg.alert('rec=', orderRec);
    	     }
        }
    });                                                 
Ext Js - How to Reference Store Values
===

I'm trying to read grid values from within a load event of my form. The ordersStore.load() loads my grid with data, but I don't get a record returned using getAt. Is there a better way to do this? Thanks. 

    client_form.on({
       actioncomplete: function(form, action){
          if(action.type === 'load'){
	      var suite_no = action.result.data.suite_no;
	      ordersStore.baseParams.suite_no = suite_no;
	      ordersStore.load();
	      var orderRec = Ext.data.Record.create(['order_id', 'suite_no', 'merchant', 'track_no', 'invoice_no', {name:'total',type: 'float'},  {name:'weight',type: 'float'}, 'status']);
	      var orderRec = ordersStore.getAt(0);
	      Ext.Msg.alert('rec=', orderRec);
    	     }
        }
    });                                                 