1. #91
    Sencha Premium Member
    Join Date
    May 2011
    Location
    Arlington, TX
    Posts
    15
    Vote Rating
    0
    TexasSteve99 is on a distinguished road

      0  

    Default


    Quote Originally Posted by radtad View Post
    Looks like it breaks on xtype: 'actioncolumn'.

    Code:
    Error: Cannot read property 'disabled' of undefined
    I think some logic to skip this column needs to be added since there is no reason to print it that I can see. Changes in red below fixes the problem.

    Code:
                // remove columns that do not contain dataIndex
                // or dataIndex is empty.
                // for example: columns filter or columns button
                var clearColumns = [];
                Ext.each(
                    columns,
                    function (column) {
                        if ( column ) {
                            if ( !Ext.isEmpty(column.dataIndex) &&
                                 !column.hidden                 &&
                                 !isGrouped && 
                                 column.xtype !== 'actioncolumn')
                            {
                                clearColumns.push(column);
                            } else if ( column.xtype === 'rownumberer'){
                                if (!column.text) column.text = 'Row';
                                clearColumns.push(column);
                            } else if ( column.xtype === 'templatecolumn'){
                                clearColumns.push(column);
                            } else if ( isGrouped && 
                                          column.dataIndex !== groupField && 
                                          column.xtype !== 'actioncolumn') 
                            {
                                clearColumns.push(column);
                            }
                        }
                    }
                );
                columns = clearColumns;
    Thanks for contributing! I have entered your fix and submitted a Pull request to Loaine. The fix should be on GitHub within 24 hours.

    Steve

  2. #92
    Touch Premium Member
    Join Date
    Dec 2011
    Posts
    17
    Vote Rating
    0
    smstid is on a distinguished road

      0  

    Default


    Hi thanks for the nice updated version

    Is there a way to extend your nice plugin with rowbody

    I have been using Eds original plugin before that I modified to print the row body, but have now switch to using yours and has been playing with the code without success for printing the row body.

    Regards Max

  3. #93
    Sencha Premium Member
    Join Date
    May 2011
    Location
    Arlington, TX
    Posts
    15
    Vote Rating
    0
    TexasSteve99 is on a distinguished road

      0  

    Default


    Quote Originally Posted by smstid View Post
    Hi thanks for the nice updated version

    Is there a way to extend your nice plugin with rowbody

    I have been using Eds original plugin before that I modified to print the row body, but have now switch to using yours and has been playing with the code without success for printing the row body.

    Regards Max
    I will get that working when I start working on the tree grid support. I will probably start working on it late next week.

    Steve

  4. #94
    Touch Premium Member
    Join Date
    Dec 2011
    Posts
    17
    Vote Rating
    0
    smstid is on a distinguished road

      0  

    Default


    Fantastic, big thanks
    If there is anything I can do to help you out I am happy to do that

    Best Regards Max

  5. #95
    Sencha User filippo.ferrari's Avatar
    Join Date
    Apr 2010
    Location
    Sanremo - Italy
    Posts
    124
    Vote Rating
    1
    filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute

      0  

    Default


    I'm tring to integrate gridprinter plugin in my project. I get an error: 'record is undefined' on line 72766 of ext-all-debug where ext call method getGroups:

    Code:
    getGroups: function(requestGroupString) {var records = this.data.items,
    length = records.length,  // <-- error line
    groups = [],
    pointers = {},
    record,
    groupStr,
    group,
    i;
    for (i = 0; i < length; i++) {
    record = records[i];
    groupStr = this.getGroupString(record);
    group = pointers[groupStr];
    if (group === undefined) {
    group = {
    name: groupStr,
    children: []
    };
    groups.push(group);
    pointers[groupStr] = group;
    }
    group.children.push(record);
    }
    return requestGroupString ? pointers[requestGroupString] : groups;
    }
    I'm using Ext 4.2.1.883

  6. #96
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Los Angeles
    Posts
    149
    Vote Rating
    1
    radtad is on a distinguished road

      0  

    Default


    Quote Originally Posted by filippo.ferrari View Post
    I'm tring to integrate gridprinter plugin in my project. I get an error: 'record is undefined' on line 72766 of ext-all-debug where ext call method getGroups:

    I'm using Ext 4.2.1.883
    Posting ExtJS code isn't helping anyone debug your code. You will need to post your code in order for anyone to help you.

  7. #97
    Sencha User
    Join Date
    Nov 2013
    Posts
    1
    Vote Rating
    0
    diegotainha is on a distinguished road

      0  

    Default Duplica a impressão.

    Duplica a impressão.


    Olá Loiane, estou com um problema na minha impressão. A grid é impressa duas vezes em uma mesma página de impressão, uma grid em seguida da outra. Já ocorreu algo assim? Sabe o motivo?

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar