(Original creator: GMockford)
HTMLGrid for Windows Applications – Part #1
During this years North American User Group we presented an alternate to the standard Uniface Client/Server grid control using a web based grid inside of the Uniface HTML control.
Following the user group we had a number of requests for more information so we decided to use this as an opportunity to start a blog series on that subject and in the process get feedback from our user base and gain insight on what can be done with this powerful and flexible control.
This is the first in a series of articles based around JQGRID but JQgrid is only one of many and if sufficient interest occurs perhaps in the future we will expand the series to include others but first we need to describe the basics and from there expand to encompass the full range of features.
A key part of this integration is to try and keep within the concepts and usage of the grid as used within a regular web page and not place too much emphasis on making it perform exactly like C/S grids although there are obvious similarities.
JQGRID was created by Tony Tomov at Trirand Inc. who maintains a blog http://www.trirand.com/blog/ where you can download the latest versions and if you wish purchase support for commercial projects. Having said that JQgrid is open source and available for free without support although Tony’s free blog is a rich source of questions and answers. The list of features is truly impressive and can be best visualized by visiting the demonstration site http://trirand.com/blog/jqgrid/jqgrid.html
A part of this will be to provide discrete samples within Uniface.info’s samples area for download and I’ve created a more detailed document that tries to explain some of the grids working in detail.
The focus of this first session is on data retrieval (read only) and in the next session we will deal with editing data. Beyond that we will touch on topics like field formatting including themes, sub-grids, grouping and a host of other features. Take a look at the HTMLgrid part1 sample and also the more detailed explanation and remember I’m hoping that this is a two-way-street so feel free to question, adjust and improve the samples especially if you find a better way to do things.