disable the down menu

Questionsdisable the down menu
George asked 11 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 11 years ago

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

George answered 11 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 11 years ago

This issue is fixed in latest build.

George answered 11 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 11 years ago

Check your email for update.

Abu Ghufran answered 11 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

20 + 19 =

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?