1. #1
    Sencha Premium Member
    Join Date
    Feb 2013
    Posts
    10
    Vote Rating
    0
    miary is on a distinguished road

      0  

    Default How to match onListItempTap function with onListDisclosure on a List?

    How to match onListItempTap function with onListDisclosure on a List?


    Using a list, I wrote all the necessary codes to handle the list on itemTap under the function name onListItempTap.

    I enabled 'disclose' on the list, how to make it such onListDisclose does exactly what onListItemTap does?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,165
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Move all of your functionality into a custom function.

    Then inside of your event handlers for onListeItemTap and onListDisclose invoke this custom function.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2013
    Posts
    10
    Vote Rating
    0
    miary is on a distinguished road

      0  

    Default


    Ahhh . . . sounds logical Thanks, that works!!!

Thread Participants: 1

Tags for this Thread