K
K
Kir Burov2017-05-09 12:50:02
Yii
Kir Burov, 2017-05-09 12:50:02

How to display pagination buttons outside the table?

How can I change the position of the pagination button block in an arbitrary place on the page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mitaichik, 2017-05-09
@KirraBu

There are 2 options:
1. Set the widget's layout parameter.
2. You must create the widget directly with new (or Yii::createObject). This will give you an instance of the widget object. And then call render methods in the right places (renderItems, renderPager, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question