Home arrow JavaScript arrow Page 4 - EXT JS: the Paging Toolbar and Live Data
JAVASCRIPT

EXT JS: the Paging Toolbar and Live Data


Thanks for joining me in part three of the EXT-JS GridPanel tutorial series. In part two of the series we covered the basic mechanics of getting the data into our JsonStore and displaying it in the grid. We looked both at the server-side PHP and the client-side JavaScript required for achieving this.

Author Info:
By: Dan Wellman
Rating: 4 stars4 stars4 stars4 stars4 stars / 9
August 03, 2009
TABLE OF CONTENTS:
  1. · EXT JS: the Paging Toolbar and Live Data
  2. · Pagination
  3. · Even More PHP
  4. · Summary

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
EXT JS: the Paging Toolbar and Live Data - Summary
(Page 4 of 4 )

We now have all of the functionality that we set out to include when we began looking at the GridPanel and have worked with several key components from the library, including a DataStore (extended to a JsonStore), GridPanel and a PagingToolbar. Using these components has saved us a considerable amount of coding, even when the PHP is included that make working with data in this way so beneficial.

One thing I think you’ll agree on, however, is that while the components do everything that we want, and that the data is displayed in an attractive and highly useable state, the formatting of the data could use some improvement.  The GridPanel does an excellent job of displaying the remote data in a tabular format, reminiscent of a spreadsheet, but in our example, we’ve been working with product information extracted from our database, not flat tabular data.

In the last and final part of this tutorial we’ll be looking at how we can format the data displayed in the grid so that it looks like the kind of page that you might actually see in an online store. Thankfully the GridPanel contains methods that allow us to easily format and present the data in the way that we want. We’ll get to see exactly what these methods are and how they can be used.

-DOWNLOAD SOURCE-


DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 9 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials