how to get primary key of a row in list page to keep a condition to call add _action function.
for eg:
if($this->model->isEventCalendarSet($need_row_id)){
$this->grocery_crud->add_action('Event Calendar', base_url().'design/images/img.png', 'hollie/calendar');
}
where $need_row_id should be replaced with primary key of a row.