×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    270

    How to disable one cell of list on clicking other.

    I am creating UI in s40. I have a layout in which list is there and on one cell of list is one checkbox. When we click that checkbox the cell immediately below it gets disabled and the same gets enable again on clicking the cell.

    How can i get this disable functionality in my s40 app

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: How to disable one cell of list on clicking other.

    You need to override the Cell List Renderer to get the desired UI effect, the moment you get a list Item selected - take its index and make the index+1 item as disable.... and enable any disabled item when it get clicked.

    Refer to - https://projects.developer.nokia.com..._ListDemo/wiki
    http://lwuit.blogspot.in/2008/07/lwu...-fishbein.html
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. [Question]Different cell heights in a list
    By thanhlnh in forum Mobile Java General
    Replies: 1
    Last Post: 2012-02-10, 10:51
  2. ( ? ) How to disable a list element from ItemCommand
    By jcampom in forum Mobile Java General
    Replies: 1
    Last Post: 2011-08-04, 07:17
  3. Replies: 0
    Last Post: 2011-06-09, 17:34
  4. Disable list in the container.
    By swapnil_mahajan in forum Symbian
    Replies: 2
    Last Post: 2009-07-30, 06:39
  5. How to Disable Command Button and list item on Listview for S40 devices
    By iworktech_kiran in forum Mobile Java General
    Replies: 3
    Last Post: 2008-08-29, 17:29

Posting Permissions

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