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 js is not minified so it is readable. See paging.js.