PDA

View Full Version : CheckboxSelectionModel problem



dreamcaster
14 Oct 2009, 12:57 AM
Hi guys,

I'm having a problem clearing the selections when I use the CheckboxSelectionModel.


var selectionMod = new Ext.grid.CheckboxSelectionModel();

var myGrid = new Ext.grid.GridPanel({
sm: selectionMod
store: myStore
,cm: new xg.ColumnModel({
columns: [
sm
,{header: "Col A", dataIndex: 'cola'}
,{header: "Col B", dataIndex: 'colb'}
]
})
});

When I tried to reload the store and refresh the grid's view, check marks disappeared in every row except the checkbox in the column. Any idea how to fix that?

Thanks.