Results 1 to 4 of 4

Thread: ItemSelector: Events for Add/Remove

  1. #1
    Sencha Premium User
    Join Date
    Jan 2017
    Posts
    15

    Question ItemSelector: Events for Add/Remove

    Hey together,

    is there any way to implement listeners for "added" and "removed" for the ItemSelector? Right now only the "changed" listener is working. But I need to know when the User presses the add/remove button manually.

    Any hints?

    Thanks

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Seems like added and removed are already events. Are they not working?

  3. #3
    Sencha Premium User
    Join Date
    Jan 2017
    Posts
    15

    Default

    Okay they are working. But I expected something different. I thought the events are triggered when an item is selected (added to the right column). But it looks like "added" is only triggered when items are pushed into the store.

    Basically I want an event that is triggered when the Item is added to the right "selected" column.

  4. #4
    Sencha Premium User
    Join Date
    Jan 2017
    Posts
    15

    Default

    Okay, I'm sure this is not the best solution, but it works:

    https://fiddle.sencha.com/#view/editor&fiddle/1str

Similar Threads

  1. Issues with dataview, itemselector and events
    By Carlstrom in forum Ext 5: Q&A
    Replies: 0
    Last Post: 24 Aug 2015, 10:43 PM
  2. Replies: 9
    Last Post: 30 May 2012, 6:30 AM
  3. Replies: 2
    Last Post: 4 Nov 2010, 8:37 PM
  4. Replies: 0
    Last Post: 12 Aug 2010, 7:11 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
  •