This litte basic Tutorial will show you how to create a Paging Grid with Ext-1.0-alpha2_rev5 and PHP on the Server Side. You need a local Webserver with PHP and MySQL like XAMPP or WAMP. I use PHP 5.2 . If you have a older PHP Version read Wolfgangs topic http://www.yui-ext.com/forum/viewtopic.php?t=2853.
This Tutorial is for local learning without any security stuff to keep it simple !
Ok, lets start. First we need some Data. Go to http://www.benjaminkeen.com/software/data_generator/, type name, country and zipcode in the Table Columns, select the datatypes, select SQL under Result type, add 100 Rows, check on "Include Create Table Query", Database Table Name set to "myTable" and Database to MySQL. Click "Generate!", create a Database "someData" on your Webserver and run the copied SQL Statement.
You have now a Database "someData", a Table "myTable" and the fields "id", "name", "country" and "zipcode" and 100 datasets.
First we create a html page "tutorial.html" like that:
Paging Grid Example
programmingknowledge.com - Free Online Programming Resources:: Building a Visual Basic .NET Windows Application. DataGrid Paging. To show only a limited number of records at a time, and to allow the user to walk http://www.programmingknowledge.com/HOME
CodeProject: Pager Control for ASP.NET. Free source code and :: Sep 11, 2008 NET only DataGrid and GridView has built-in support for paging. .. a strongley typed dataset like the one used in this tutorial series http://www.codeproject.com/KB/custom-controls/ASPNETPagerControl.aspxHOME