There is no grid defined in the RowSelectionModel object of my GridPanel (taken from ExtJS Feed Viewer example).
I would assume that when initializing a RowSelectionModel in the constructor of a GridPanel, the grid property of that RowSelectionModel object should be set to reference the grid in which the RowSelectionModel is living. But the grid property is undefined. Why?
.
.
.
FeedGrid.superclass.constructor.call(this, {
region: 'center',
id: 'topic-grid',
loadMask: {msg:'Loading Feed...'},
sm: new Ext.grid.RowSelectionModel({
singleSelect:true
}),
viewConfig: {
forceFit:true,
enableRowBody:true,
showPreview:true,
getRowClass : this.applyRowClass
}
});
.
.
.
Ext.extend(FeedGrid, Ext.grid.GridPanel, {