1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    19
    Vote Rating
    0
    wqjh7809 is on a distinguished road

      0  

    Default GetRecord by using tool tip doesn't work in 4.2.0 beta

    GetRecord by using tool tip doesn't work in 4.2.0 beta


    Hello,

    I've tested a little bit with the new beta of 4.2 and I prompt have an error in my grid:
    I use the same code like the example from the docs. But in my grid I get an error by calling this:

    Code:
    tip.update('Over company "' + view.getRecord(tip.triggerElement).get('company') + '"');
    The problem is the node which is need in ext-all-debug.js:

    Code:
    Ext.define('Ext.view.TableLayout', {
    
    //(...)
    
    getRecord: function(node) {
        node = this.getNode(node);
        if (node) {
        //(...)
    normally the node is an object of type DispHTMLTableRow, but here I get only a bool with "true"?!

    Have anybody an idea or the same problem?

  2. #2
    Sencha User
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    989
    Vote Rating
    47
    ssamayoa has a spectacular aura about ssamayoa has a spectacular aura about

      0  

    Default


    How do you got it?
    I mean, ExtJS 4.2
    UI: Sencha Architect 2.x / ExtJS 4 MVC
    Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
    Application Server: Glassfish 3.1.x
    Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5

    If you like my answer please vote!