/** * 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); }
/** * 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); }