Results 1 to 5 of 5

Thread: Multiselect Click Event is not Firing

  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    22

    Default Multiselect Click Event is not Firing

    With upgrade to Ext 4.x, Multiselect Click event is not firing.
    Code:
    <ext:MultiSelect ID="multiAvailableProducts" runat="server" Width="291" Height="260" Border="false"                                        StoreID="StoreAvailableProducts" DisplayField="Product" ValueField="ProductCode"
                                            SortField="Product" DragGroup="availableProducts" DropGroup="selectedProducts,availableProducts"
                                            TabIndex="118" SingleSelect="false">
                                            <Listeners>
                                              <Click Handler="this.focus(); lstSelectionFrom = 'AvailableProducts';" />
                                            </Listeners>
    
                                          </ext:MultiSelect>
    Anyone Plzzzz reply!!!!!

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165

    Default

    There is not a click event in Ext.ux.form.MultiSelect in 4.x. Here are all of the events for MultiSelect:
    http://docs.sencha.com/extjs/4.2.1/#...event-activate

    Though, you may be able to do what you want by passing a listeners config to listConfig:
    http://docs.sencha.com/extjs/4.2.1/#...cfg-listConfig

    The itemclick event may be what you're looking for?http://docs.sencha.com/extjs/4.2.1/#...vent-itemclick

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    22

    Default Multiselect not refreshing after store bind

    Thanks. Item click worked for me.

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    26

    Default Multiselect click event on Run time

    Hi,
    I have a problem related to click event on Multiselect but I want to fire that event on run time.
    Can not have the click event on aspx page.
    plz reply... it's urgent.

  5. #5
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165

    Default

    You can use the fireEvent to manually fire an event.
    http://docs.sencha.com/extjs/4.2.1/#...thod-fireEvent

    However, the framework will include params itself when a user interaction fires an event. When you fire an event programmatically you'll need to pass any desired params yourself.

Posting Permissions

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