-
12 Dec 2008 7:04 AM #11
Righto, i'll get that uploaded to our repo now.

I'm still on a learning curve with GXT, so this should be fun.
Again, really good job mate. One of our users wants to buy you a beer
-
12 Dec 2008 7:06 AM #12
Just one more thing: If you used this with check boxes, would the gris cache those that are checked, ready for a "Save" action or would you recommend catching the event and updating the row on the server straight away?
-
12 Dec 2008 1:36 PM #13
Kango_V,
The CheckBoxSelectionModel plugin (checked etc) would need to be modified to support the remembering of checked state similar to the ActiveGridSelectionModel.
You could either keep a local index backed hash of checked rows or send them back to the server as you suggest (the server side would be slow though).
It wouldn't take me long (nor is it that hard) to create an ActiveCheckBoxSelectionModel.
I'm available for a fee if you wish
GXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender
-
13 Dec 2008 1:03 PM #14
Yeah, that's what I thought. We may have a use case for this when our app has gone live.
I'm building a Production Services system to track fims, expenses, agreements, jobs, events, contracts etc etc etc.
It's getting bigger by the day. Also I've got to implement expenses into peoplesoft, contacts into Salesforce and invoices into Mapics/XA COM so the checkboxes could be useful. They keep us busy
Hehe, I'm still trying to get my boss to pay for an ExtGWT license.
Out of interest, what OS/IDE do you use to develop this stuff?
-
13 Dec 2008 1:06 PM #15
GXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender
-
13 Dec 2008 1:17 PM #16
Hehe, yep. I use Ubuntu and Eclipse 3.4 here. I'm just being the nosy bugger that I am LOL.
-
3 Jan 2009 4:08 PM #17
bugs
bugs
hi grant!
this is really a great work!
could this become part of gxt itself? would be great
.
maybe i am using it wrong, but i tried with a datasource which has 0 or 1 entry. this made it end up in an endless loop inside updateRows...
refresh is always called and reloads... storeDataChanged(StoreEvent<M> se) is called after reload is finished and calls updateRows.... which itself calls refresh....Code:if (realStore.getCount() < realStorePageSize) { refresh(); return; }
am i doing something wrong or is it a bug with smaller datasets?
anyhow: thanks for your great work!
regards, kht
-
3 Jan 2009 7:55 PM #18
Thanks - I did this to see even if it was indeed possible to extend GXT Grid ...and it was ;-)
An official GXT Active/Live Grid is being targetted for after 2.0 - so it is unknown if this ActiveGrid will be taken up. There are better ways to do what I have done so I'm fairly sure it won't be, but its a start
Ahh, yes this is expected. I never did consider someone using an active grid with no rows.
This is a bug. In fact it probably doesn't work very well at all with a small number (or zero) rows.
Feel free to have a tinker with the code - it shouldn't be too hard to fix the bug and get it working with large and small rows.GXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender
-
26 Jan 2009 1:27 PM #19
Hi Grant,
Any updates on ActiveGrid?
Are you planning on completing this? Or, is the plan to wait for a post 2.0+ version in GXT?
Thanks for all your work and effort on this widget, it is really important, IMO.
-
26 Jan 2009 5:37 PM #20
I'll happily add patches or fixes - but as a live grid equiv will be added eventually, there is no real point in me spending massive amounts of hours on it.
Cheers,
GrantGXT JavaDocs: http://extjs.com/deploy/gxtdocs/
GXT FAQ & Wiki: http://extjs.com/learn/Learn_About_the_Ext_GWT_Library
Buy the Book on GXT: http://www.apress.com/book/view/9781430219408
Follow me on Twitter: http://twitter.com/gslender


Reply With Quote
