1. #41
    Ext User
    Join Date
    Jan 2009
    Posts
    543
    Vote Rating
    0
    dbassett74 is on a distinguished road

      0  

    Default


    Doesn't seem to work:

    Code:
                render: function(p) {
                    var tt = new Ext.ToolTip({
                        title: "Levels",
                        html: "test",
                        target: Ext.select("td:nth(1)", true, p.body.dom)
                    });
                }

  2. #42
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    What is inside this td? You can only apply a ToolTip to a top-level element. It doesn't work if the <td> is covered by another element.

  3. #43
    Ext User
    Join Date
    Jan 2009
    Posts
    543
    Vote Rating
    0
    dbassett74 is on a distinguished road

      0  

    Default


    There is nothing inside the TD. It is empty at all times.

  4. #44
    Sencha User
    Join Date
    Jan 2008
    Posts
    20
    Vote Rating
    0
    jcmartinez is on a distinguished road

      0  

    Default HtmlLayout in Ext 4.7

    HtmlLayout in Ext 4.7


    Hi,

    I am migrating my application to Ext 4, but I'm using the component: Ext.ux.layout.HtmlLayout that is in Ext 3. I'm looking for this component for Ext 4, does anybody can help me ?

    Regards

    Juan Carlos

  5. #45
    Sencha User
    Join Date
    Jan 2008
    Posts
    20
    Vote Rating
    0
    jcmartinez is on a distinguished road

      0  

    Default Migration

    Migration


    I did some changes to the component, but it is not rendering correctly,
    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);
            }
        }
    });
    
    
    I got this, I don't see the Date Icon (to the right) 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