1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Mumbai , India
    Posts
    36
    Vote Rating
    0
    anaP is on a distinguished road

      0  

    Default handler function for onItemDisclosure

    handler function for onItemDisclosure


    Hi all,
    In Sencha designer I am creating a Sencha Touch 2 project. I have a list and I want to add a function on onItemDisclosure.
    but designer have only check box as input option.
    can anyone help me in how to add function for it.
    Thanks

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    Vote Rating
    121
    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


    onItemDisclosure is a strange configuration in that it takes a boolean value and/or a function for a handler. We don't yet have a clean way of exposing such a configuration in the Designer. (Although we certainly will!)

    For now, set the boolean to true and then subscribe to the event on the list.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1