Results 1 to 3 of 3

Thread: HTML Layout. Ext Components in Plain HTML

  1. #1

    Default HTML Layout. Ext Components in Plain HTML

    My application is in Ext 3 and I'm migrating to Ext 4. I made some changes to the 'Ext.ux.layout.HtmlLayout' component, but the components are not rendering properly. Here is the components code:
    Code:
    Ext.define('Ext.ux.layout.HtmlLayout', {
        extend: 'Ext.layout.container.Container',
        alias: ['layout.ux.html'],
        alternateClassName: 'Ext.layout.HtmlLayout',
        renderItem: function (c, target, position) {
        if (!c.rendered) {
             if (c.renderTarget) {
                    target = Ext.DomQuery.selectNode(c.renderTarget, Ext.getDom(target));
                } else if (c.applyTarget) {
                   var el = Ext.DomQuery.selectNode(c.applyTarget, Ext.getDom(target));
                    if (!c.rendered) {
                        c.el = el;
                    }
                    target = el.parentNode;
                }
                Ext.layout.HtmlLayout.superclass.renderItem.call(this, c, target, position);
            }
        }
    });
    

    You can see the result in the next image. I don't see the Date Icon (to the right of date fields) and the datefields are at the left (they should have to be on top of "IMPORTE"). Does anybody can help me ?

    Imagen.jpg
    regards and thank's in advance

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

    Default

    Best way to get support for a community extension is to go to the author.
    Mitchell Simoens @LikelyMitch

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

    Posts are my own, not any current, past or future employer's.

  3. #3

    Default

    Quote Originally Posted by mitchellsimoens View Post
    Best way to get support for a community extension is to go to the author.
    The component was originally made in Ext 3 and It was working properly. I made some changes for Ext 4. Then, I'd like to know what's missing or why it's not working properly en Ext 4.

    regards

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
  •