Results 1 to 3 of 3

Thread: grid is undefined in Ext.grid.RowSelectionModel

  1. #1

    Question grid is undefined in Ext.grid.RowSelectionModel

    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?

    ., {
    region: 'center',
    id: 'topic-grid',
    loadMask: {msg:'Loading Feed...'},

    sm: new Ext.grid.RowSelectionModel({

    viewConfig: {
    getRowClass : this.applyRowClass
    Ext.extend(FeedGrid, Ext.grid.GridPanel, {

  2. #2
    Sencha User
    Join Date
    Aug 2009


    Well.. the example works for me? Where are you getting this error? How are you trying to use the FeedGrid?

  3. #3


    Thanks so much for responding scarsick. You are correct, the example works fine but I have been trying to add some further functionality working off the feed example. I did find a work around for my problem so I'm not much concerned about this issue anymore. But if you are interested I was confused about the grid property of the RowSelectionModel, it didn't seem to be populated when the RowSelectionModel was instantiated in the example although maybe I had an error in my testing methods.

    It is instantiated on line 50 of the FeedGrid.js:
    sm: new Ext.grid.RowSelectionModel({

Similar Threads

  1. Replies: 2
    Last Post: 30 Dec 2008, 1:01 AM
  2. HOW to use Ext.grid.RowSelectionModel like icon
    By mido in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 2 Apr 2008, 12:17 PM
  3. Ext.grid.RowSelectionModel: hasPrevious() & hasNext() broken?
    By danp in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 22 Feb 2008, 11:56 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts