-
29 Mar 2010 7:45 PM #121
There was a bug after reloading the store.The checkbox wouldn't tick.I check my json code and the output was the same.My temp solution was to not reload .
-
19 Apr 2010 8:35 AM #122
-
19 Apr 2010 8:41 AM #123
I would like to know (v3.1) how to make rows checked by default, hightlighted? i read all messages of this forum and i tested all solution but no positive result. I am using Smart Checkbox Selection Model
Thanks to reply me as soon as possible
-
20 Apr 2010 2:42 AM #124
resolu
resolu
I have just changed
if((dataIndexValue == true || isSelected) && !Ext.state.Manager.loaded)
by
if((dataIndexValue == 'false' || isSelected)){
in the file SmartCheckColumn.js all works well!!
-
18 May 2010 6:22 AM #125
For anyone that is using the email:true setting to separate the checkbox and gridrow functionality I am using this hack to select only the checkboxes and pass their Ids in an ajax call. Its not great but it works for my needs.
Create a new renderer and assign a unique record Id as the div id
I then have a function that gets called by a button handler to return the Ids of only the checkboxes that are checked.Code:var cbsm = new Ext.grid.SmartCheckboxSelectionModel({ email: true, renderer : function(v, p, record){ p.css += ' x-grid3-check-col-td'; return '<div id='+record.data.noteId+' class="x-grid3-check-col'+(v?'-on':'')+' x-grid3-cc-'+this.id+'"> </div>'; } });
Code:getChecked: function() { var result = []; var cb = this.getEl().query("div.x-grid3-check-col-on"); for (var i = 0; i < cb.length; i++) { result.push(cb[i].id); } delete cb; return result; },
-
18 May 2010 8:56 AM #126
Hey, thanks for that mod jbird! I'm glad people are still finding use out of this SelectionModel almost 2 years after I last worked on it.
Noah
Senior Web Developer
NBA.com
-
2 Jul 2010 6:46 AM #127
Hey Noah thanks for the awesome plugin! I haven't tried it out yet but now I need it and going to use it, I used the Ext.ux.grid.CheckColumn plugin but it's too poor..
jbird526 your approach is interesting but I think that a more correct, data-aware way of doing this is filtering the data Store by the 'checked' field when collecting data from grid befora Ajax call, that's the way I do it. I also call suspendEvents() on the store so the grid records aren't really filtered out.
-
11 Oct 2010 7:00 AM #128
I wonder if anyone can help here, I implemented this plugin and with 3.2.1 and I got it to work on first window create, after closing the window and reopening it, i would get and loading screen and an error in firebug
var count = this.grid.store.getCount();
thanks
-
11 Oct 2010 7:12 AM #129Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
Closing a window will destroy everything inside, including the grid.
Either hide and reuse the window or close and completely recreate it.
-
28 Jan 2011 3:23 AM #130
Hello,
I have a probleme with my GridPanle when I try to sort checked rows , this is the scenario I do :
Check All Rows --> Sort by a name Column --> Deselect one row (checkbox) --> Sort again using date Column.
as result I have the grid with a lot of row unckecked., I don't know why.
Please Help
Similar Threads
-
Smart tooltip
By same66 in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 24 Feb 2011, 7:02 PM -
Ext.each : with remove - not smart enough
By DaveC426913 in forum Sencha Touch 1.x: DiscussionReplies: 5Last Post: 30 Nov 2010, 10:36 AM -
Is smart rendering possible in grid???
By jeff77 in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 10 Sep 2010, 12:03 AM -
Smart Ext toolbar
By tinnt in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 20 Nov 2008, 7:04 PM -
GridPanel - smart rendering
By embolooloo in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 8 Oct 2007, 7:57 PM


Reply With Quote
