Results 1 to 2 of 2

Thread: Tree with multiSelect on view doesn't behave accordingly

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Aug 2011

    Exclamation Tree with multiSelect on view doesn't behave accordingly

    In Ext Designer you can only set multiSelect on the view of a tree and not on the tree itself. This seems the correct way (see documentation of the view), but the resulting tree doesn't allow multiSelect.
    If I manually add multiSelect to the treepanel it works, but this is overwritten by every export with Ext Designer.
    I'm not sure if this is a bug in Ext Designer or ExtJS 4 itself, because the designer works the way the documentation says. But this doesn't work in the browser.

    Using Ext Designer 1.2.2 and ExtJS 4.0.7

    A workaround is:
    Ext.Function.interceptBefore(Ext.tree.TreePanel.prototype, 'initComponent', function() {
        if ( Ext.isDefined(this.viewConfig.multiSelect) && this.viewConfig.multiSelect )
            this.multiSelect = true;

  2. #2


    I think that multiselect is not supported in 4.1.1 as a configuration option. It's not in the Api docs.<br>But you can provide selection model with mode: multi

    selModel: Ext.create('Ext.selection.RowModel', {
                    mode: 'MULTI'

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