Results 1 to 4 of 4

Thread: Problem with RowSelectionModel

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    14

    Default Problem with RowSelectionModel

    Hello everybody,

    i habe a problem with the RowSelectionModel but on the other handy i think it is a javascript problem. In line 202 of the attached file i assign th selection to my delete button but when i want to use it in the function of the button (line 102 my browser tells me, that rowSelections is undifined. Does anybody know why?

    Thx.
    Attached Files Attached Files

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    'this' in the Ext.Msg.show will be the clicked Yes or No button, unless you specify a scope, e.g.
    Code:
    handler: function(btn) {
      Ext.Msg.show({
        scope: btn,
        ...
      });
    }

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    14

    Default

    Sorry, but without this "this" it doesn't work also.

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    Did you try my suggested change?

Similar Threads

  1. RowSelectionModel
    By knt in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 10 Nov 2009, 7:56 AM
  2. Problem with RowSelectionModel selectionchange event
    By tiago.silva in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 18 Mar 2009, 7:47 AM
  3. RowSelectionModel Problem
    By mchambaud in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 20 Mar 2008, 9:57 AM
  4. Bug in RowSelectionModel
    By msascha in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 26 Mar 2007, 12:57 PM
  5. problems with RowSelectionModel
    By marvinhorst in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 20 Feb 2007, 1:53 PM

Posting Permissions

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