Results 1 to 2 of 2

Thread: NestedList doesn't fire selectionchange [ext 6.5.0] [modern]

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User
    Join Date
    Jul 2016
    Posts
    9

    Default NestedList doesn't fire selectionchange [ext 6.5.0] [modern]

    Hi,
    Since I moved to 6.5 the nested list has stopped firering selectionchange event, here's a fiddle https://fiddle.sencha.com/#view/editor&fiddle/20v4
    If you switch to 6.2.1 it will work.

    Regards.

  2. #2
    Sencha Premium User
    Join Date
    Mar 2017
    Posts
    21

    Default [6.5.2 Modern] dataview selectionchange

    This is also true with dataview (6.5.2 & 6.5.3.18)
    PHP Code:
    Ext.Viewport.add({
        
    xtype:'dataview',
        
    store: {
            
    data:[{text:'tap to select'}]
        },
        
    listeners: {
            
    selectionchange: function() {
                
    alert('selectionchange');
            }    
        }
    }); 
    which is reported as EXTJS-26533

    I've tried to play with 6.5 selection model, and found that Ext.grid.selection.Model also fires view event when selection changes.

    Applying this behavior to Ext.dataview.selection.Model :
    PHP Code:
    fireSelectionChange: function(recordsselected) {
        
    this.fireEvent('selectionchange'this.getView(), recordsselected);
        
    // Added this :
        
    this.getView().fireEvent('selectionchange'this.getView(), recordsselected);

    makes 'selectionchange' fire as expected.

Similar Threads

  1. Replies: 2
    Last Post: 1 Dec 2016, 3:52 AM
  2. [CLOSED] selectionchange does not fire on NestedList
    By r_honey in forum Sencha Touch 2.x: Bugs
    Replies: 2
    Last Post: 20 Jan 2012, 12:02 AM
  3. Replies: 0
    Last Post: 30 Nov 2011, 12:16 AM
  4. [SOLVED] DataView selectionchange event doesn't fire
    By amcsi in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 10 Sep 2010, 4:55 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
  •