This example shows how to create a grid with paging. This grid uses a ScriptTagProxy to fetch cross-domain remote data (from the Ext forums).
Note that the jsis not minified so it is readable. See paging.js.