1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    165
    Vote Rating
    0
    ericd is on a distinguished road

      0  

    Default jsakalos accordion+InfoPanel and HtmEditor

    jsakalos accordion+InfoPanel and HtmEditor


    Has anyone tried using said components together? When I try to run the HtmlEditor inside a InfoPanel I get an exception. Running the htmlEditor by itself works and the Accordion by itself also works, but combined, bad news

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,509
    Vote Rating
    374
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    First of all, Accordion is user extension so Premium Help rules don't apply to it as it's not official Ext JS LLC product.

    Nevertheless, I'll help you.

    The most basic rule connected with Accordion/InfoPanel is to NOT render advanced Ext components (grid, tree and probably also HtmlEditor) into a collapsed panel. Collapsed panel is display:none so no dimensions are available.

    Therefore I put all lazy creation/rendering of such components to panel's expand event (with option single:true).

    Try to do the same to see if the problem persists.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    165
    Vote Rating
    0
    ericd is on a distinguished road

      0  

    Default


    Thanks Jozef,

    I will be more careful next time. If there is any way for me to move this into the appropriate forum, let me know and I shall do it. I will try your suggestion right way.

  4. #4
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,509
    Vote Rating
    374
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I'll move it into User Extensions forum.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


Thread Participants: 1