1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    46
    Vote Rating
    0
    sathishs is on a distinguished road

      0  

    Default is it possible to create grid object in items?

    is it possible to create grid object in items?


    Hi,

    what i want to know is,It is possible to create grid object in the items attribute?

    example code:
    Code:
                                      /* here */ --->    xtype:'editorgrid', /*--i want to specify like
                                                          /*    var grid = new Ext.grid.EditorGridpanel()*/
                    		       store: store_inter,
    				       cm: cm_interass,
    				       id : 'inter_association',
    					//buttonAlign:'center',
    					viewConfig: {
    						forceFit:true
    					  },
    					 width:1180,
    					height:200,
    					collapsible: false,
    					autoScroll: true,
    					 monitorResize: true,
    					 frame:true,
    					bbar : new Ext.PagingToolbar({
    					displayInfo: true,
    					pageSize : 20,
    					store: store_inter
    					}),
    					buttons: [{
    					      		text: 'Add',
    						          id : 'inter_add',
    						        handler : function() {
    							   	select_inter();
    						          }  	
    						          },{
    						            text: 'Remove',
    						id : 'inter_remove'
    						        
    						}]
    Thanks,
    sathishs

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    You can specify items as config objects (with xtype) or as component objects, so both:

    Code:
    items: [{
      xtype: 'editorgrid', 
      ...
    }, ...]
    and

    Code:
    var grid = new Ext.gridEditorGrid({
      ...
    });
    
    items: [grid, ...]
    are valid.

Thread Participants: 1

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