Results 1 to 3 of 3

Thread: PropertyGrid

  1. #1
    Ext User
    Join Date
    Nov 2008
    Posts
    76
    Vote Rating
    0
      0  

    Talking PropertyGrid

    Hai All I Have Created A Propertygrid..
    its Working.. But My need is only to display, i dont needThe Editor Facility over there.. so is any way to block the edit while i clik the grid..??
    PLease give me Solution
    Thanks in advance..
    My Code is
    Code:
    var propsGrid = new Ext.grid.PropertyGrid({
            nameText: 'Properties Grid',
            width:300,
            autoHeight:true,
           viewConfig : {
                forceFit:true,
                scrollOffset:2 // the grid will never have scrollbars
            }
        });
    
        propsGrid.setSource({
            "Name": "Properties Grid",
            "Phone": '435',
            "Mobile": '4563'
        });

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    Why don't you use a GridPanel instead?

  3. #3
    Sencha User atmiyadas2014's Avatar
    Join Date
    Aug 2014
    Posts
    27
    Vote Rating
    1
      0  

    Default

    Code:
    new Ext.grid.PropertyGrid({ 
                        ...   listeners: {    
                                            'beforeedit':{         fn:function(){        
                                                                         return false;         } 
                                                             }// end beforeedit  
                                             },//end listeners 
      ...});

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •