Dojo Data Grid – Series Overview
The Dojo Data Grid control is another option we have for displaying data in XPages. It provides a more modern look and the potential for much more functionality than a view panel, yet it functions in a way that’s a little more familiar to Notes client users in that it uses a scroll bar, rather than paging.
If you’re reading this post, it’s likely that you’ve also seen Mark Roden’s recent posts on using the ExtJS grid in XPages. I’ve been enjoying that series and learning along with it, but it made me realize that I haven’t yet used the Dojo Data Grid control that’s already available.
Since it’s an XPages control, I’m assuming that it will be much easier to get up and running quickly. I’m also assuming that ExtJS has more functionality. However, I also know that ExtJS has a cost in money (starting at $595 for a single developer license) and overhead (loading the extra libraries into the application), so I want to learn what the differences are so that I can make the best possible decision for each application.
So, here I go. I’m going to dig in and learn the functionality of the grid and document my findings along the way.
In this series, I’ll cover how to use the control and how to implement great features like column sorting and reordering, filtering, and even editing in place.
About the Dojo Data Grid Control
The Dojo Data Grid control makes use of the dojox.grid.DataGrid, which has been a part of dojo since version 1.0. The control is available in the extension library and also in 8.5.3 Upgrade Pack 1 (which I’ll be using for my testing).
One great thing about the Dojo grid is that you can use it even without the Dojo Data Grid control, because it’s already part of dojo on the Domino server! I’m going to be focused on the control in this series, but, if you need to use it without the extension library or upgrade pack 1, check out Paul Calhoun’s NotesIn9 video to see how to do it.
Your Feedback Requested
If you have any questions along the way, please ask and I’ll do my best to answer. If you have tips from experience using the control, please share so that we can all benefit!
I have a lot of posts already planned for this topic, but I’ll adjust as I go if there’s a lot of feedback heading in a specific direction.
In the next post, I’ll show a Dojo Data Grid and discuss the features it provides out of the box.