[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-doc
Subject: [PEAR-DOC] cvs: peardoc /en/package/structures/structures-datagrid faq.xml
From: "Olivier Guilyardi" <olivierg () php ! net>
Date: 2007-07-30 9:43:59
Message-ID: cvsolivierg1185788639 () cvsserver
[Download RAW message or body]
olivierg Mon Jul 30 09:43:59 2007 UTC
Modified files:
/peardoc/en/package/structures/structures-datagrid faq.xml
Log:
add entry to faq about common paging issue
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/faq.xml?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/en/package/structures/structures-datagrid/faq.xml
diff -u peardoc/en/package/structures/structures-datagrid/faq.xml:1.6 \
peardoc/en/package/structures/structures-datagrid/faq.xml:1.7
--- peardoc/en/package/structures/structures-datagrid/faq.xml:1.6 Sun Mar 11 15:04:57 \
2007
+++ peardoc/en/package/structures/structures-datagrid/faq.xml Mon Jul 30 09:43:59 \
2007 @@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="package.structures.structures-datagrid.faq">
<refnamediv>
<refname>FAQ</refname>
@@ -205,6 +205,23 @@
</para>
</answer>
</qandaentry>
+ <qandaentry>
+ <question>
+ <para>
+ All the rows are displayed on one page. Why isn't it paging the data?
+ </para>
+ </question>
+ <answer>
+ <para>
+ Don't forget to pass the number of rows per page to the constructor:
+<programlisting role="php">
+<![CDATA[
+$datagrid =& new Structures_DataGrid(10); // 10 rows per page
+]]>
+</programlisting>
+ </para>
+ </answer>
+ </qandaentry>
</qandaset>
</refsect1>
</refentry>
--
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic