Results 1 to 2 of 2

Thread: Management Controllers

  1. #1
    Sencha User
    Join Date
    May 2012
    Location
    Venezuela
    Posts
    5
    Vote Rating
    0
      0  

    Default Management Controllers

    Hi,I have a questionto the management ofdrivers, it happens thatI have apanel 1where I have abuttonA andBneeda buttonthat when you pressthe buttontobedirectedtomepanel2andif I press thebuttonBisdirectedtomePanel3,I'm drivingtheactionwithdriversbuteitherpressbuttonsalwaysdirectsthepanel2how couldaddressthe buttons oneach panelseparately

    Thank you!

  2. #2
    Sencha Premium Member dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,093
    Vote Rating
    56
      0  

    Default

    have you applied an 'action' config item to your buttons? then you could reference it as below:

    Code:
    this.control({
    'contact button[action=add]':{ click: this.addRecord }, 'contact button[action=delete]':{ click: function(){this.deleteRecord()} }
    });
    Lead Trainer / Sencha Specialist
    Community And Learning Systems

    Lead Architect
    DigitalTickets.net

Tags for this Thread

Posting Permissions

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