1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    32
    Vote Rating
    0
    cs01rsw is on a distinguished road

      0  

    Default ExtJS 3.3 and LiveGrid

    ExtJS 3.3 and LiveGrid


    Hi,

    we recently upgraded to ExtJS 3.3 and now our livegrids are not working.
    We are getting error: this.liveScroller.dom is undefined

    is anyone else experiencing this problem or know how to get around it?

    thanks

  2. #2
    Sencha User
    Join Date
    Mar 2010
    Posts
    32
    Vote Rating
    0
    cs01rsw is on a distinguished road

      0  

    Default


    could this be attributed to a problem in my code? does anyone else use livegrid and has made the switch to extjs 3.3 with no problems?

    thanks

  3. #3
    Sencha User
    Join Date
    Aug 2010
    Posts
    45
    Vote Rating
    0
    daddie888 is on a distinguished road

      0  

    Default


    Hi, i use a patch from someone else's post (forgot to note the name sorry), you have to change livegrid-all-debug.js or the corresponding -core or -all file, for me it works. Having trouble to implement the plugin's for filterrow in the header though...
    Code:
    afterRenderUI : function()
    {
    var g = this.grid;
    var dEnabled = g.enableDragDrop || g.enableDrag;
    g.enableDragDrop = false;
    g.enableDrag = false;
    this._gridViewSuperclass.afterRenderUI.call(this);
    //this._gridViewSuperclass.renderUI.call(this);
     
    var g = this.grid;
    g.enableDragDrop = dEnabled;
    g.enableDrag = dEnabled;
    if(dEnabled){
    this.dragZone = new Ext.ux.grid.livegrid.DragZone(g, {
    ddGroup : g.ddGroup || 'GridDD'
    });
    }
    if (this.loadMask) {
    this._loadMaskAnchor = Ext.get(this.mainBody.dom.parentNode.parentNode);
    Ext.apply(this.loadMask,{
    msgCls : 'x-mask-loading'
    });
    this._loadMaskAnchor.mask(
    this.loadMask.msg, this.loadMask.msgCls
    );
    var dom = this._loadMaskAnchor.dom;
    var data = Ext.Element.data;
    data(dom, 'mask').addClass('ext-ux-livegrid');
    data(dom, 'mask').setDisplayed(false);
    data(dom, 'maskMsg').setDisplayed(false);
    }
    },
     
    /* original
    renderUI : function()
    {
    var g = this.grid;
    var dEnabled = g.enableDragDrop || g.enableDrag;
    g.enableDragDrop = false;
    g.enableDrag = false;
    this._gridViewSuperclass.renderUI.call(this);
    var g = this.grid;
    g.enableDragDrop = dEnabled;
    g.enableDrag = dEnabled;
    if(dEnabled){
    this.dragZone = new Ext.ux.grid.livegrid.DragZone(g, {
    ddGroup : g.ddGroup || 'GridDD'
    });
    }
    if (this.loadMask) {
    this._loadMaskAnchor = Ext.get(this.mainBody.dom.parentNode.parentNode);
    Ext.apply(this.loadMask,{
    msgCls : 'x-mask-loading'
    });
    this._loadMaskAnchor.mask(
    this.loadMask.msg, this.loadMask.msgCls
    );
    var dom = this._loadMaskAnchor.dom;
    var data = Ext.Element.data;
    data(dom, 'mask').addClass('ext-ux-livegrid');
    data(dom, 'mask').setDisplayed(false);
    data(dom, 'maskMsg').setDisplayed(false);
    }
    },
    */

Similar Threads

  1. Ext.ux.grid.livegrid with ExtJS 3.3: Broken
    By dereks in forum Ext 3.x: User Extensions and Plugins
    Replies: 2
    Last Post: 25 Jan 2011, 3:27 AM
  2. Plugins for Livegrid and Form for EXTJS 3.2.2.
    By Balesh in forum Ext 3.x: User Extensions and Plugins
    Replies: 1
    Last Post: 12 Oct 2010, 11:05 PM
  3. LiveGrid support as standard in EXTJS Please!
    By jpierson in forum Community Discussion
    Replies: 5
    Last Post: 8 Jan 2009, 4:58 AM

Thread Participants: 1