We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd3e5a9 + a6fb4f7 commit cefe378Copy full SHA for cefe378
grid/Column.php
@@ -27,7 +27,12 @@ public function init()
27
28
protected function renderDataCellContent($model, $key, $index)
29
{
30
- $offset = $this->grid->dataProvider->pagination->pageSize * $this->grid->dataProvider->pagination->page;
+ $offset = 0;
31
+
32
+ if ($this->grid->dataProvider->pagination) {
33
+ $offset = $this->grid->dataProvider->pagination->pageSize * $this->grid->dataProvider->pagination->page;
34
+ }
35
36
return Html::tag('div', '☰', [
37
'class' => 'sortable-widget-handler',
38
'data-id' => $model->getPrimaryKey(),
0 commit comments