paginator position

thread: 2 messages  |  last: about 2 years ago  |  started: saturday, july 31, 2010, 10:00 am pdt


#1  |  hacher Malaysia
Saturday, July 31, 2010, 10:00 AM PDT

hi,
this is my code
           $this->dtgForm = new QDataGrid($this);
           $this->dtgForm->CellPadding = 5;
           $this->dtgForm->CellSpacing = 0;

           $this->dtgForm->UseAjax = true;


           $this->dtgForm->Paginator = new QPaginator($this);
           $this->dtgForm->ItemsPerPage = 20;

i wonder why the paginator will auto render on top of the datagrid because i set the form as the parent of the paginator. I want to put the paginator on the bottom of my datagrid. How to do that?

#2  |  Mike Ho (San Diego, CA) United States of America Qcodo Administrator
Wednesday, August 11, 2010, 10:23 AM PDT

You can do some overrides in QDataGrid to perform this.

See the Examples Site Page on datagrids for more info.



Copyright © 2005 - 2013, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.