1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    16
    Vote Rating
    0
    myavuz is on a distinguished road

      0  

    Default Overide problem

    Overide problem


    In this code, I have written 'this.papername' to text value for column label which is define in the object. However, it does no see it, nothing prints in the column name, I should overwrite it for localization so I need it, why it does not reach this.papername?Thanks

    PHP Code:
    Ext.define('Confman.view.AuthorPaperList', {
        
    extend:'Ext.grid.Panel',
        
    title'Papers',
        
    id:'authorPaperList',
        
    papername:'gdfh',
        
    height:300,
        
    store: {
            
    fields: [{name'name'type'string'}],

        },
        
    columns: [
                  { 
    textthis.papername,  dataIndex'name' },
                  { 

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,000
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1