[CLOSED] MultiSelect deselect client side

  1. #1

    [CLOSED] MultiSelect deselect client side

    Hello,

    I've noticed that the clientside functions to select all the items in a multiselect had changed, this is ok and works fine.
    But I can't find nowhere the new version of deselectAll.

    Thanks,

    Reno
    Last edited by Daniil; Jun 25, 2013 at 7:48 AM. Reason: [CLOSED]
  2. #2
    Hi @Reno,

    Please use:
    App.MultiSelect1.boundList.getSelectionModel().deselectAll();
  3. #3

    Thnx!

    Hi Daniil,

    Thanks.
    Only a pity that there is such a difference between selectall and deselectall:
    App.MultiSelect.setSelectedItems(App.MultiSelect.store.getAllRange());
    versus
    App.MultiSelect.boundList.getSelectionModel().deselectAll();
    But anyway, it works.

    Kind regards,

    Reno
    Last edited by Daniil; Jun 17, 2013 at 4:33 PM. Reason: Please use [CODE] tags
  4. #4
    You can select all items in a similar way.
    App.MultiSelect.boundList.getSelectionModel().selectAll();

Similar Threads

  1. Client Side selectAll() in multiselect component
    By nahuelsantos in forum 2.x Help
    Replies: 2
    Last Post: Jan 10, 2013, 1:49 PM
  2. Multiselect client side documentation
    By alexrodi82 in forum 1.x Help
    Replies: 1
    Last Post: Nov 08, 2011, 7:41 AM
  3. [CLOSED] MultiSelect "select all" from client side
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Sep 20, 2011, 12:04 PM
  4. Multiselect deselect
    By Richardt in forum 1.x Help
    Replies: 0
    Last Post: Jul 12, 2010, 6:33 AM
  5. Replies: 0
    Last Post: Sep 17, 2009, 8:04 AM

Posting Permissions