Demonstrates how to bind jqGrid to custom Sql Data Source.
The only thing you need to do is to set the SelectCommand property in the PHP code.
Also, all major grid features like sorting (click on a column header), searching (click on the server icon on the bottom toolbar),
paging, etc work as well by default -- no need to code anything.
Column settings can be customized using the setColProperty function.
Columns are automatically created when you associate a declarative datasource with the grid at design time.
You can tweak various column properties, like label (in order to set column header text),