Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1267 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2009
    Posts
    240
    Vote Rating
    0
    r_honey is on a distinguished road

      0  

    Default DataView.clearSelections does not remove the selected class from items

    DataView.clearSelections does not remove the selected class from items


    Please goto this page:
    http://docs.sencha.com/touch/2-0/tou...ink/index.html

    Open User Interface\List and click on "Simple" toolbar button. Click on any item in the list to select it.
    Then open Developer tools and try executing this:

    Code:
    Ext.getCmp('ext-list-3').clearSelections();
    After this, if you call:
    Code:
    Ext.getCmp('ext-list-3').getSelection();
    You get an empty array, but in the UI, the item is still selected as the 'x-item-selected' class is not removed from the item's dom.

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This has been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

  4. #4
    Sencha User
    Join Date
    Mar 2009
    Posts
    240
    Vote Rating
    0
    r_honey is on a distinguished road

      0  

    Default


    Thanks Jamie..

Thread Participants: 1