title: Ext.grid.CheckboxSelectionModel not returning proper id values when multipal rows are checked in the grid
body: <p>im using extjs3 . my problem is im loading the store from server side using ajax . as follows</p>
  
  <pre class="lang-js prettyprint-override"><code>var store_dept = new Ext.data.JsonStore({              
                  totalProperty:'totalcount',
                  root:'rows_dept',   
                  autoLoad:true,
                  url: '&lt;%=getResultURL.toString()%&gt;',  
                  fields:[
  
                          { name:'name'},
                          { name:'id'},
                          { name:'address'}
                        ] 
  
               });
  
  var sm_dept = new Ext.grid.CheckboxSelectionModel(
  
                          {
                              singleSelect: false,
                              checkOnly: false,
                              listeners: {
  
                                  selectionchange: function(sm_dept) {
  
  
                                  }
                              }
                          }
  
                  );
  </code></pre>
  
  <p>now  im getting the response so im formatting it in renderer column as </p>
  
  <pre class="lang-js prettyprint-override"><code>function renderBufferResult_dept(value, p, record){
  
       return String.format('&lt;div style="white-space:normal !important;"&gt;&lt;b&gt;{1}&lt;/b&gt;&lt;br/&gt;{3}&lt;br/&gt;{2}&lt;br/&gt;&lt;/div&gt;',value,record.data.name,record.data.address,record.data.id);
   }
  </code></pre>
  
  <p>the grid code is :</p>
  
  <pre class="lang-js prettyprint-override"><code> var  grid_dept= new Ext.grid.GridPanel({
                  id:'resgriddept',               
                  width:210,
                  height:300,
                  title:'Additional Notification',
                  store: store_dept,
                  trackMouseOver:false,
                  disableSelection:true,
                  loadMask: true,
                  sm:sm_dept,
                  // grid columns
                  columns:[
                          sm_dept, 
                           {                
                      header: "Details",
                      dataIndex: 'id',
                      width:210,                
                      sortable: true,
                      renderer:renderBufferResult_dept
                  }
                  ] ,
  
                 buttons: [
                           {
                               text:'Export To Excel',
                               handler: function()
                              {
  
  
                                  if(property_list!=''){
                                      /* var prop_list='';
                                      for(var i=0 ;i&lt;sm.selections.getCount();i++){
                                          prop_list =prop_list+ sm.selections.get(i).data.id+',';
  
                                      } */
                                      window.open('&lt;%=getxlFileURL%&gt;'+'&amp;id_list='+property_list);
  
                                  }else{
                                      alert('Select propert to Export');
                                  }
                              }
  
  
                           },{
  
                               text:'Generate Letter',
                               handler: function()
                              {
  
  
  
                                         var dept_id_list = '0,';
                                        if(sm_dept.selections.getCount()&gt;0){
                                            alert('cont select');
                                          for(var j=0 ;j&lt;sm_dept.selections.getCount();j++){
                                              alert("id "+sm_dept.selections.get(j).data.id);
                                              dept_id_list = dept_id_list+sm_dept.selections.get(j).data.id+',';
                                              alert('id with templist '+dept_id_list);
                                          }
                                       }  
                                          window.open('&lt;%=getreportsURL%&gt;'+'&amp;id_list='+property_list+'&amp;dept_id_list='+dept_id_list);
  
  
                              } 
  
                           }],
                buttonAlign:'center'
  
               });//End Of Grid
               // render it    
               grid_dept.render('res-grid-dept');
               store_dept.load();
  </code></pre>
  
  <p>The problem comes when i hit  generate letter button, the id's of  the checked rows(1,2,3)  comes like 0,1,1,2 when it must come like 0,1,2,3 in the alert.</p>