1. #1
    Sencha Premium Member
    Join Date
    Dec 2012
    Location
    Pune
    Posts
    27
    Answers
    1
    Vote Rating
    0
    virajnimbalkar is on a distinguished road

      0  

    Default Unanswered: On cueme every component fires painted event continuosly

    Unanswered: On cueme every component fires painted event continuosly


    Hi,Is any one used cue-me + sencha touch 2.1 together ? For us while testing continuously painted events gets fired on most component . And we don't know the cause.And one more Question.What is the best place to insert Highchart code in panel ? we are using painted.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,691
    Answers
    310
    Vote Rating
    117
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    You could add in the initialize function.
    http://docs.sencha.com/touch/2.3.1/#...hod-initialize
    Make sure you call this.callParent.
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2012
    Location
    Pune
    Posts
    27
    Answers
    1
    Vote Rating
    0
    virajnimbalkar is on a distinguished road

      0  

    Default


    Our application works perfectly on windows safari, chrome and iPad 6.

    but fails on safari 7 , 6 of mac and iPad 7

    we are using framework 2.1

    after highchart.redraw(true);
    we are using $(window).trigger('resize');//Remove this when you found alternate way to draw x-axis labels.

    we tried to test every component separately , like our region bar in that we are using segmented buttons only,
    no window.trigger still painted gets called many times.

    can any one tell me scenario when this painted event gets called excluding on visible or on rendered or on show.
    For us painted is causing lot more problem now.

    I tried to use initialize for rendering high chart, but it is giving high chart error 13

    Thanks
    Viraj

  4. #4
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,691
    Answers
    310
    Vote Rating
    117
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    Check the source. It is accessible through the docs. I would check the Panel.js file as well as the other components in the panel hierarchy.
    Attached Images
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

Thread Participants: 1

Tags for this Thread