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

      0  

    Default Error onColumnShow in a grouped header grid

    Error onColumnShow in a grouped header grid


    In my grid I'm using a grouped header like this:

    Code:
    { text: arrMonths[0]["name"],
        id: 'monthCol0',
        sortable: false,
        groupable: false,
        columns: [{
            text: 'Quantity',
            dataIndex: 'Quantity0', 
            id: 'QuantCol0', 
            width: 50, 
            renderer: formatEuropeanZeroDecimal, 
            hidden: true, 
            align: 'right', 
            sortable: false, 
            groupable: false,
                editor: getNumberFieldEditor()
                    },{
            text: 'Value', 
            dataIndex: 'Value0', 
            width: 75, 
            renderer: formatEuropeanTwoDecimal, 
            align: 'right', 
            sortable: false, 
            groupable: false,
            editor: getNumberFieldEditor()
        }]
    }
    Code:
     function getNumberFieldEditor(nf) {
                return new Ext.form.field.Number({
                    xtype: 'numberfield',
                    minValue: 0,
                    hideTrigger: true,
                    decimalSeparator: ',',
                    listeners: {
                        focus: function (nf) {                    
                        //...    
                        },
                        blur: function () {
                        //...
                        }
                    }
                });
            }
    When I'm clicked in the header menu to hide the whole grouped column and then to show them again, I get the following error:

    The object does not support the property or method "GetEditor"

    in this section of Ext:

    Code:
    Ext.define('Ext.grid.RowEditor', {
        extend: 'Ext.form.Panel',
        requires: [
            'Ext.tip.ToolTip',
            'Ext.util.HashMap',
            'Ext.util.KeyNav'
        ],
    
    //(...)
    
        onColumnShow: function(column) {
            var field = column.getEditor(); <==
    
    //(...)
    In this context
    Code:
    column
    is the grouped column, without an editor.

    What's wrong in the code?
    Last edited by wqjh7809; 21 Nov 2012 at 6:28 AM. Reason: further information

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

      0  

    Default


    Is fixed in 4.1.3.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi