kop / yii2-scroll-pager

Infinite AJAX scrolling for Yii2 ListView widget
https://kop.github.io/yii2-scroll-pager/
MIT License
180 stars 63 forks source link

Error: Setting unknown property: kop\y2sp\ScrollPager::linkContainerOptions #114

Open strtob opened 3 years ago

strtob commented 3 years ago

Hi,

My project use a kartik gridview, I've configured the gridview according to the manuel, unfortunately I get this error:

Setting unknown property: kop\y2sp\ScrollPager::linkContainerOptions

Thanks a lot for any ideas.

BR, Toby

strtob commented 3 years ago

This is from the gridview source:

$isBs4 = $this->isBs4(); if ($isBs4) { Html::addCssClass($this->options, 'kv-grid-bs4'); $this->setPagerOptionClass('linkContainerOptions', 'page-item'); $this->setPagerOptionClass('linkOptions', 'page-link'); $this->setPagerOptionClass('disabledListItemSubTagOptions', 'page-link'); }

can this be considered in the yii2-scroll-pager, if yes, where?

Thanks a lot!

blakadm commented 3 years ago

// 'bsVersion' => '4.x', remove bsVersion in params.php. Worked on my project.

strtob commented 3 years ago

ok, is there a version for bs4?