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![]()
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![]()
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?
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
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?
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
Hehe, yep. I use Ubuntu and Eclipse 3.4 here. I'm just being the nosy bugger that I am LOL.
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
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
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.
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,
Grant
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