× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The discussion somewhat veered from my original investigation of rich-client frameworks, but that's fine.

I downloaded Ext JS last night and began looking at what it might take to load their basic Grid component from an SQL result set, and came up with this example:

http://tinyurl.com/5qhh3e

Technically, you define a "data store" component and bind it to a "grid" component, then request data from the server, and load it into the local data store. Ext JS offers a few different data format options. So far I've tested with XML and JSON formatted responses.

The page takes a while to load because it references Ext JS script files that are fairly large. But their Grid component automatically offers quite a few nice behaviors that I might not put into a Web application if I had to code them myself.

I've provided links to the Javascript required to define and load the data store and grid components, along with the source for the JSON template, and the RPG program that generates and outputs the SQL result set.

Nathan.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.