Results 1 to 3 of 3

Thread: grid without selection model

  1. #1
    Sencha User
    Join Date
    Dec 2009
    Posts
    425

    Default grid without selection model

    Is it possible to have a GridPanel without a selModel?
    My grid has many columns that contain hyperlinks.
    The first click on a row, selects the row and the second click opens up the link.
    I want first click to take me to the link.
    Please help.

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    549

    Default

    Try:
    Code:
    sm: new Ext.grid.RowSelectionModel({
        listeners: {
            beforerowselect: {
                fn: function(sm, rowIndex, record) {
                    return false    
                }
            }
        }
    })
    If this doesn't work - please share your code on how you're currently handling the links within the cells

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Posts
    425

    Default

    Perfect. Thank you, willigogs.

Posting Permissions

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