/**
  * Check visible item in grid.
  *
  * @param Grid $grid
  * @param array $filter
  * @return bool
  */
 protected function isItemInGridVisible($grid, array $filter)
 {
     return $grid->isRowVisible($filter, true, false);
 }
예제 #2
0
파일: Grid.php 프로젝트: cewolf2002/magento
 /**
  * Check if specific row exists in grid.
  *
  * @param array $filter
  * @param bool $isSearchable
  * @param bool $isStrict
  * @return bool
  */
 public function isRowVisible(array $filter, $isSearchable = false, $isStrict = true)
 {
     $this->search(['code' => $filter['code']]);
     return parent::isRowVisible($filter, $isSearchable);
 }