disable the down menu

Questionsdisable the down menu
George asked 5 years ago

How to disable the down menu and "delete" action button?I only need inline edit and edit in action button

6 Answers
varun answered 5 years ago

set_actions(array("add"=>false,"edit"=>true,"delete"=>false));

George answered 5 years ago

It doesn't work.With set_actions(array("add"=>false,"edit"=>true,"delete"=>false));
disappears all the actions in the right side!I also want to disappear the down menu with the buttons.Any idea?

Abu Ghufran answered 5 years ago

This issue is fixed in latest build.

George answered 5 years ago

I have phpgrid-v1.4.6 and when i set delete=false,edit disappears!I also want to disable Columns button and search button on the bottom of the grid.

Abu Ghufran answered 5 years ago

Check your email for update.

Abu Ghufran answered 5 years ago

Set search to false. Columns buttons are disabled by default in latest build.

set_actions(array("add"=>false,"edit"=>true,"delete"=>false, "search"=>false, "showhidecolumns" => false));

Your Answer

0 + 9 =

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 / 5. Vote count:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!