question about Structures_DataGrid
| From: | Anton Tobolchenko | Date: | Tue, 15 May 2007 11:00:11 +0000 |
| Subject: | question about Structures_DataGrid | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27294@lists.php.net to get a copy of this message | ||
Hi, I am a web programmer from Russia.
First of all, excuse my bad english =)
I have a question about *Structures_DataGrid* class.
I read documentation on
http://pear.php.net/manual/en/package.structures.structures-datagrid.php#package.structures.structures-datagrid.structures-datagrid-datasource
but
i didn't understand how it work.
Please, help me.I think that i will understand all, if i saw a correctly
code.
For example, lets take such task: create table with 2 columns and 3 rows.
First - checkboxes and secont - simple static text (not edit).
In the beginning we have array with data. And table we need to build on that
array (take from array information about which checkbox is checked and what
is the static text will be near it). Which php code will generate such
table if we a using pear *Structures_DataGrid* class?
Please, write all code from "<?php" till "?>".
I hope you will understand my problem and will help me.