Exemple #1
0
 public function renderSorter(array $options)
 {
     return LinkSorter::widget(array_merge(['show' => true, 'sort' => $this->dataProvider->getSort()], $options));
 }
Exemple #2
0
 public function renderSorter(array $options)
 {
     return LinkSorter::widget(array_merge(['show' => true, 'sort' => $this->dataProvider->getSort(), 'buttonClass' => 'btn btn-default dropdown-toggle btn-sm'], $options));
 }