Moved the pagination objects to the right side instead of centered. Also, replaced the jQuery function call for the pager parameter to just the id text. I found this in the manual, and it saves us from having to use the --special exception.
git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@126 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -138,7 +138,7 @@ foreach ($jqGridColumns AS &$col) {
|
||||
|
||||
<DIV ID="<?php echo $grid_div_id; ?>" CLASS="<?php echo $grid_div_class; ?>">
|
||||
<table id="<?php echo $grid_id; ?>" class="scroll"></table>
|
||||
<div id="<?php echo $grid_id; ?>-pager" class="scroll" style="text-align:center;"></div>
|
||||
<div id="<?php echo $grid_id; ?>-pager" class="scroll" style="text-align:right"></div>
|
||||
<script type="text/javascript"><!--
|
||||
|
||||
jQuery(document).ready(function(){
|
||||
@@ -165,7 +165,7 @@ jQuery(document).ready(function(){
|
||||
'caption' => $caption,
|
||||
'imgpath' => $imgpath,
|
||||
'viewrecords' => true,
|
||||
'pager' => array('--special' => "jQuery('#{$grid_id}-pager')"),
|
||||
'pager' => $grid_id.'-pager',
|
||||
//'toolbar' => array(true,"bottom"),
|
||||
)); ?>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user