Results 1 to 2 of 2

Thread: disabling currently selected item in a list

  1. #1
    Ext User
    Join Date
    Jul 2010
    Vote Rating

    Question disabling currently selected item in a list

    Happy Friday everybody.

    I'm using a list bound to a JsonStore. The list's singleSelect config is set to true. Once an item in the list is selected, I'm wondering if there is a Sencha way to disable that item from being tapped again which seems to deselect it, at least for appearance sake so that the item stays highlighted.


  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Sydney, Australia
    Vote Rating


    You could listen to one of the events (like itemtap) to detect whether or not it's being deselected.
    Evan Trimboli
    Twitter - @evantrimboli

Similar Threads

  1. x-item-selected class on list doen't work
    By wakatanka in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 1 Sep 2010, 8:56 AM
  2. Replies: 5
    Last Post: 26 Jun 2009, 2:42 AM
  3. Disabling a row from being selected in a Grid
    By wavded in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 23 Feb 2009, 11:21 AM
  4. Replies: 3
    Last Post: 16 Feb 2009, 4:44 AM
  5. Replies: 1
    Last Post: 24 Sep 2008, 8:07 AM

Posting Permissions

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