Open Source Datagrid
As promised last week (and reminded by a post on Remote Synthesis) here is the next piece of useful open source code.
CF Datagrid - it converts queries to a nice presentable datagrid which has support for paging, filtering and sorting.
We use it internally and it happily handles querys of around 100,000 records.
It is available under the CPL 1.0 and I hope you find it useful.
If you find any bugs or issues please post a note on this blog.
Show me the code! | Show me what it looks like!
Update: Added new zip file with build 22 of the datagrid. It includes the missing files.

It's something that I'd love to be able to do but I haven't found a nice solution to make it work yet. The reason it won't work is that in the interests of performance the datagrid handles paging on the server side. This means that if we put any client side sorting on it then the sort would only be sorting the available items instead of the entire query sort.
As I mentioned in the post one of our internal uses of it involves throwing a 100,000+ record at it and the datagrid handles the paging very quickly.
There could be a nice way to do it with ajax, but I need to spend a bit of time to get it working with a nice clean interface.
Cheers,
Mark
<cfimport prefix="msg" taglib="/net/redbd/customtags/msg/">
fails. FYI
looks nice though!
DK
DK
The cfimport statment loads our simple message handler (to bo open sourced soon) but I am not sure what the utility cfc has it it... Stay tuned for an update
Thanks for that - I did test it on my machine but forgot to remove the mappings so I had all the dependencies.
I've added a new file which should have everything that you need.
Let me know how you go.
Cheers,
Mark
<cfimport prefix="msg" taglib="/customtags/net/redbd/customtags/msg">
with
<cfimport prefix="msg" taglib="../msg">
This will make the code more portable.
Also, the cfimport tag is cool for sure, but in our case our customtags directories are not under the webroot. I switched to using the old-fashioned customtag call of
<cf_datagrid >
Ever see GridMonger?
http://mysecretbase.com/GridMonger_Home.cfm
I prefer a customtag approach you guys are using, but gridmonger has been around for a few years.
DK
1st suggestion is a very good one - I'll look at doing that.
For the second one though - our customtags directory are also not under the webroot - we have mappings set up for /net which allows us to map the custom tags in very neatly.
The Readme.txt should describe the easy way (slap it all in the webroot) and the secure "right" way which involves a non webaccessible folder mapped in via a CF mapping.
I haven't seen grid monger - I'll check it out though.
Keep the comments coming.
Mark
It's something that I'd love to be able to do but I haven't found a nice solution to make it work yet. The reason it won't work is that in the interests of performance the datagrid handles paging on the server side. This means that if we put any client side sorting on it then the sort would only be sorting the available items instead of the entire query sort.
the most convenient and http://www.batteryfast.co.uk cheap replacement battery online shop in uk. We specialize in laptop batteries,laptop AC adapters. All of batteries are brand new, with the excellent service from our customer service team, you can feel free to purchase on laptop battery!
http://www.rpg-trader.com/warhammer_online/1.php
http://www.rpg-trader.com/everquest/1.php
http://www.rpg-trader.com/final_fantasy_xi/1.php
http://www.rpg-trader.com/lineage_2/1.php
http://www.rpg-trader.com/age_of_conan/1.php
http://www.tumeroks.com
http://war.tumeroks.com
http://wow.tumeroks.com
http://diablo3.tumeroks.com
http://starcraft2.tumeroks.com
http://www.wowgoldguide.com
http://www.buyingwowgold.com
http://www.everquestplatinumguide.com
http://www.cheapwargold.net
http://www.warprofessionguide.com
http://www.cheapwarhammergold.net
http://www.warmacros.com
http://www.warquestguide.com
http://www.warprofessions.com
http://www.warlevelingguide.com
http://www.ffxigilguide.com
http://www.wartradeskills.com
http://www.warhammertradeskills.com
http://www.warhammergoldguide.com
http://www.wargoldfarming.com
http://www.warhammergoldforsale.com
http://www.wowquestguide.com
http://www.wargoldtips.com
http://www.wargoldfarmingguide.com
http://www.freewargoldguide.com
http://www.lineage2adenaguide.com
http://www.wargoldforsale.com
http://www.1000wowgold.com
http://www.worldofwarcraftexploits.com
http://www.farmworldofwarcraftgold.com
http://www.worldofwarcraftgoldfarming.com
http://www.everquest2goldguide.com
http://www.aocquestguide.com
http://www.aocgoldfarming.com
http://www.diablo2store.com
http://www.ddogold.co.uk
http://www.ddogoldguide.com
http://www.daocplatguide.com
http://www.batterybusiness.co.uk/sony-vgp-bps2.htm...
http://www.batterybusiness.co.uk/apple-powerbook-g...(15-inch-titanium).htm
http://www.batterybusiness.co.uk/hp-pavilion-dv400...
http://www.all-battery.co.uk/laptop-batteries/sony...
http://www.batterybusiness.co.uk/sony-vaio-pcg-grx...
http://www.cheap-laptop-battery.co.uk/dell-1691p.h...
http://www.cheap-laptop-battery.co.uk/dell-6y270.h...
http://www.cheap-laptop-battery.co.uk/samsung-x10s... NO1
http://www.cheap-laptop-battery.co.uk/apple-m7318....
http://www.batterybusiness.co.uk/sony-pcga-bp4v.ht...