Results 1 to 2 of 2

Thread: CheckBoxListView uncheck all (GXT 2.x)

  1. #1
    Sencha Premium User
    Join Date
    Jun 2011
    Posts
    76

    Default CheckBoxListView uncheck all (GXT 2.x)

    I'm trying to clear all selections from a CheckBoxListView but not having much joy.

    I can't find a simple way of doing this but thought I'd be able to do it by calling listView.setChecked(d, false) for all the list items.

    This doesn't seem to work - if I call listView.getChecked() immediately afterwards I still get the original checked items returned.

    Any ideas?

    Thanks.

  2. #2
    Sencha Premium User
    Join Date
    Jun 2011
    Posts
    76

    Default

    Sorry ignore this - I had an error elsewhere in my code - so the setChecked(false) is working as expected.

    If there's a better way to uncheck all items then please let me know, otherwise ignore this.

Posting Permissions

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