remove the refresh grid

Questionsremove the refresh grid
Stephen Hartigan asked 10 years ago

Hi I need to remove the 'Reload Grid' option from the toolbar on one of my grids, I'm guessing this is simple but can't seem to find the solution!

Thanks.

1 Answers
Abu Ghufran answered 10 years ago

setting "refresh" => false, show/hide refresh button

$g->set_actions(array(
"add"=>false, // allow/disallow add
"edit"=>false, // allow/disallow edit
"delete"=>false, // allow/disallow delete
"view"=>false, // allow/disallow view
"refresh" => false, // show/hide refresh button
"search" => false, // show single/multi field search condition (e.g. simple or advance)
)
);

Your Answer

6 + 14 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?