1. #11
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    I am getting an error on the store if I use the extension without renderTo. I get the error when I close a form. Line 662

    I changed this section to the following:

    Code:
    addCheckboxes: function() {
    		// Add new checkboxes from store
    		if(this.store){			Ext.each(this.store.data.items, function(rec) {
    				var checkbox = new Ext.form.Checkbox({name: rec.data.id + '-checkbox', boxLabel: rec.data[this.displayField], inputValue: rec.data[this.valueField], checked: (rec.checked ? rec.checked : false)});
    				var col = this.cbgroup.panel.items.get(0);
    				this.cbgroup.items.add(checkbox);
    				col.add(checkbox);
    				this.cbgroup.panel.doLayout();
    			}, this);
    		}
    	},
    It fixes the problem, not sure if is the best thing to do though.

    Marty

  2. #12
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    also, is there away to handle longer lists, seems to just keep going, longer lists run right off the page.

    Thanks, Marty

  3. #13
    Ext JS Premium Member cnelissen's Avatar
    Join Date
    Sep 2007
    Location
    California
    Posts
    220
    Vote Rating
    7
    cnelissen is on a distinguished road

      0  

    Default


    Quote Originally Posted by moegal View Post
    I am getting an error on the store if I use the extension without renderTo. I get the error when I close a form. Line 662
    I posted an updated zip file, this problem should be fixed, though slightly different than your fix.
    - Clint Nelissen

  4. #14
    Ext JS Premium Member cnelissen's Avatar
    Join Date
    Sep 2007
    Location
    California
    Posts
    220
    Vote Rating
    7
    cnelissen is on a distinguished road

      0  

    Default


    Quote Originally Posted by moegal View Post
    also, is there away to handle longer lists, seems to just keep going, longer lists run right off the page.
    I will look into this.
    - Clint Nelissen

  5. #15
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    Clint,
    Thanks! I will check it out.
    Marty

  6. #16
    Sencha User
    Join Date
    Apr 2007
    Location
    Ettlingen, Germany
    Posts
    65
    Vote Rating
    0
    Mark is on a distinguished road

      0  

    Default oh happy day!

    oh happy day!


    Hi Clint, You pointed me to "my" problem! I cleared up the json response and voila ... it works!
    thank you so much !

    Mark

  7. #17
    Ext User dudecool's Avatar
    Join Date
    Nov 2007
    Location
    Bangalore, Karnataka, India
    Posts
    26
    Vote Rating
    0
    dudecool is on a distinguished road

      0  

    Default


    Hi, How can we have a "Select All" option?
    Regards,
    Jayaveer.B
    http://gallery.jayaveer.com/

  8. #18
    Sencha User
    Join Date
    Jan 2009
    Posts
    79
    Vote Rating
    0
    lakilevi is on a distinguished road

      0  

    Default


    Thanks for this super plugin.
    But is the maxHeight working for you? For me not... It loads the whole list, with all 100 entries...
    Do you have any idea how to correct this? I am using Ext 3.1.1

    Thank you very much

  9. #19
    Ext JS Premium Member cnelissen's Avatar
    Join Date
    Sep 2007
    Location
    California
    Posts
    220
    Vote Rating
    7
    cnelissen is on a distinguished road

      0  

    Default


    Quote Originally Posted by lakilevi View Post
    Thanks for this super plugin.
    But is the maxHeight working for you? For me not... It loads the whole list, with all 100 entries...
    Do you have any idea how to correct this? I am using Ext 3.1.1

    Thank you very much
    Please redownload the attachment from the first post, I have posted an updated file which corrects this issue. I have also included minified versions of the files.
    - Clint Nelissen

  10. #20
    Sencha User
    Join Date
    Nov 2007
    Posts
    294
    Vote Rating
    0
    Sesshomurai is on a distinguished road

      0  

    Default


    This might be a dumb question, but how do I add a callback to a selection event so I can respond to checks and unchecks as the happen?