2016-07-04 6 views

ответ

1
Please follow this code 
    I am sure this code is working fine. 

    var sm = new Ext.grid.CheckboxSelectionModel({ 
       width: 25, 
       singleSelect: true, 
       header: '' 
      }); 


    xtype: 'grid', 
    sm: sm, 
    store: store, 
    trackMouseOver: true, 
    cm: new Ext.grid.ColumnModel({ 
    defaultSortable: true, 
     columns: [ 
       sm, 
      { dataIndex: 'record', header: 'Record' }, 


         ] 
}) 
+0

Я динамически генерирую свою колонку. Получение столбца из xml. – David