1. #11
    Ext JS Premium Member smcguire36's Avatar
    Join Date
    Sep 2007
    Location
    Manchester, Connecticut, USA
    Posts
    99
    Vote Rating
    0
    smcguire36 is on a distinguished road

      0  

    Default


    That's what I figured. Thanks.

    --Stewart

  2. #12
    Sencha User j-joey's Avatar
    Join Date
    Apr 2008
    Location
    Mersin, Turkey
    Posts
    186
    Vote Rating
    0
    j-joey is on a distinguished road

      0  

    Default


    great info!

    here another trick to add CheckboxSelectionModel to designer exported grid.

    a grid with autoref on a panel...
    PHP Code:
            ...
            
    panel.superclass.initComponent.call(this);
            ...
            
    //set the selModel
            
    this.grid.selModel = new Ext.grid.CheckboxSelectionModel( {} );
            
    //prepend it to colModel
            
    this.grid.colModel.config.unshiftthis.grid.selModel );
            
    //reconfig the colModel
            
    this.grid.colModel.setConfigthis.grid.colModel.config );
            ... 

Similar Threads

  1. initialize component with configs
    By wiulma in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 14 May 2010, 1:19 AM
  2. TableLayout configs
    By taiti in forum Ext 2.x: Help & Discussion
    Replies: 18
    Last Post: 21 May 2008, 6:28 AM
  3. Why no access to parent configs?!
    By steve.neill in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 25 Sep 2007, 12:26 PM

Thread Participants: 3

Tags for this Thread