-
14 Dec 2011 10:14 AM #1
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:
After this, if you call:Code:Ext.getCmp('ext-list-3').clearSelections();
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.Code:Ext.getCmp('ext-list-3').getSelection();--
Rahul Singla
-
14 Dec 2011 10:34 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
Thank you for the report.
-
14 Dec 2011 3:03 PM #3Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
This has been fixed for the next release.
-
14 Dec 2011 11:01 PM #4
Thanks Jamie..
--
Rahul Singla
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-1267
in
2.0.


Reply With Quote