Results 1 to 3 of 3

Thread: Two panels with two differests accordions doesn't work

  1. #1
    Sencha User
    Join Date
    Aug 2014
    Posts
    2

    Default Two panels with two differests accordions doesn't work

    Hello, Im new in sencha.
    I work with extjs 4.
    I have one viewport with two panel and an accordion within each.
    I change the panel with the property activeItem and this work fine.
    But in the init function from controller have:

    Code:
    'cnmcsviewport cnmcsmonthselector'       : {        
            titleclick: this.onTitleClick
    },
    'cnmcsviewport cnmcsagrupacionselector'       : {
             titleclickEstadillo: this.onTitleClickEstadillo
    }
    The events exists in accordions but only work the firts loading, the titleclick in the accordion in second panel does anything.

    However their children if they work.
    Code:
    'cnmcsviewport cnmcsmonthselector panel dataview': {
            select: this.onMonthSelect
    },
    'cnmcsviewport cnmcsagrupacionselector panel dataview': {
            select: this.onAgrupacionSelect
    },
    Thank you

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451
    Answers
    3997

    Default

    I'm not really sure what you are needing?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Aug 2014
    Posts
    2

    Default

    I have two accordions in two differents panels and in the same viewport. When I load the panels, the second accordion doesnt work the title, the childrens works ok.
    I change the panel with the option activeItem.

    I think the issue is in the controller, because when I click in the title in the first accordion load two menus, but in the second accordion do anything

Posting Permissions

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