-
1 Jul 2008 9:26 PM #31
Thnx Noah

I've followed your advice and customise the CSS a little with 2 images that I've split from the original one (row-check-sprite.gif) to obtained the following output:

I've attached the little CSS codes that I've customised and the images:
PHP Code:.x-grid3-hd-checker{
background-image:url(../images/row-check-sprite-uncheck.gif);
background-position:23px 1px;
}
.x-grid3-hd-checker-on .x-grid3-hd-checker{
background-image:url(../images/row-check-sprite-check.gif);
background-position:23px 1px;
}
-
13 Jul 2008 11:21 PM #32
problem...
problem...
hi,
I have used this smartcheckboxselectionmodel and i need something like below..plz tell how to do that..
I need to catch event listeners when i select a row and another event listeners when i check the checkbox(as well as when i uncheck)...if i use something like that
listeners:{rowselect:myFunctionOnSelect} , then both rowselect and checkbox check call the same function. how can i detect if it is row select or checkbox check?
I have configuration email:true.
-
14 Jul 2008 7:25 AM #33
I see what you mean. Give me a few hours and I'll post an update that will suit your needs. Cheers!
Noah
Senior Web Developer
NBA.com
-
17 Jul 2008 7:57 AM #34
remoteSort with Ext.grid.SmartCheckboxSelectionModel
remoteSort with Ext.grid.SmartCheckboxSelectionModel
Any ideas how can I make the Ext.grid.SmartCheckboxSelectionModel work using a remoteSort in the data store? Seems to me that I either have to send (via ajax) the status of a checkbox every time I check/uncheck or save the state of the of box using a unique id for the checked boxes....... or

Thanks you.
Isaac
-
17 Jul 2008 8:02 AM #35
If there is no paging, then using a remote sort should work out of the box. When you throw paging into the mix, you either have to use a Cookie/HTTP provider, and/or save the state of the checkboxes as they are clicked, and if that's done, you can comment out one or two lines in the SelectionModel to properly check the boxes again based on the store data.
I could help you out with that part if you go that route... or if you come up with another method, I'd love to add your code to the SelectionModel
@nb: Haven't had time yet to complete your request, but it's on my TODO list this week. Cheers!Noah
Senior Web Developer
NBA.com
-
17 Jul 2008 8:15 AM #36
I also need paging (I have ~56000 rows) so the idea of a Cookie/HTTP sounds the way to go. Let me know once you get the chance to implement it.
Thanks again.
Isaac
-
18 Jul 2008 4:51 AM #37
How can you identify each row? If you have a column in your data that is unique then there is no problem otherwise .....
hmmm...
Isaac
-
18 Jul 2008 8:40 AM #38
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
18 Jul 2008 9:05 AM #39
That ain't gonna work as you said if you sort the grid.
Isaac
-
18 Jul 2008 9:19 AM #40
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
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