An Extensive Examination of the PHP:DataGrid Component: Part 1
By Dennis Pallett2005-09-14
The Basics
To create a new datagrid, we must use the php:datagrid tag. This tells the PHP:DataGrid component that a datagrid must be shown. The only thing that we must set is the name of the datagrid. This is a required attribute, and cannot be left out. A simple datagrid looks like this:
<php:datagrid name="test"></php:datagrid>
That's the only thing necessary to display a datagrid. But we're forgetting one thing - we haven't binded any data to the datagrid yet. If you forget to do this, nothing will be displayed, except for an error.
Tutorial Pages:
» Introduction
» What is PHP:DataGrid?
» The Basics
» Binding Data
» An Example
» Summary
