 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
marksu
Joined: 21 Jul 2006 Posts: 28
|
Posted: Fri Jul 21, 2006 3:33 pm Post subject: Datagrid pager problem |
|
|
I added following code to datagrid to get the pager feature but getting error.
// adding paging eature
$pagingHtml = $renderer->getPaging();
echo "<p class=\"paging\">Pages : $pagingHtml</p>";
I get error
Fatal error: Call to undefined method Pager_Sliding::build() in C:\xxx\pear\Structures\DataGrid\Renderer\Pager.php on line 274
What might be the cause? |
|
| Back to top |
|
 |
marksu
Joined: 21 Jul 2006 Posts: 28
|
Posted: Fri Jul 21, 2006 3:55 pm Post subject: |
|
|
I fixed it.
just updating the pager packege 2.3.4 to 2..4.2.
A. For some strange reason the pager is centered on the page??
edit:
Well pager centering problem is easily solved by
putting pager and the datagrid inside a table.
B. It displayes all record and not the limit of 3 as set.
$datagrid =& new Structures_DataGrid(3);
C. The datagrid header links dont sort the when clicking? |
|
| Back to top |
|
 |
cres12
Joined: 09 Jan 2007 Posts: 1
|
Posted: Tue Jan 09, 2007 11:12 am Post subject: |
|
|
Hello,
I have the same problem as you Marksu. If have you solutions, please reach me to them
Cres |
|
| Back to top |
|
 |
marksu
Joined: 21 Jul 2006 Posts: 28
|
Posted: Tue Jan 09, 2007 11:51 am Post subject: |
|
|
Describe more of your problem?
My thread describes several. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|