How can custom show hide button inline mode

QuestionsHow can custom show hide button inline mode
Daniel G asked 8 years ago

Dear Sir ,

How I can customize show hide button add , update , delete like this "$g->navgrid["param"] = array("add"=>false, "edit"=>false, "del"=>false);"
in inline mode ?

Thanks Sir

3 Answers
Abu Ghufran answered 8 years ago

Showhide column dialog is controlled by set_actions function.

$g->set_actions(array(
"add"=>true,
"edit"=>true,

"showhidecolumns" => false
)

Daniel G answered 8 years ago

Thank you Sir , but while I use this syntax

$grid2->set_actions(array(
…..
"inline"=>true ,
….
)
);

button add ,update ,save and cancel appear in toolbar , and is there a way to custom that button?

thanks Sir

Abu Ghufran answered 8 years ago

If you want to hide inline buttons, you can set rowactions:false.
$grid2->set_actions(array(
…..
"inline"=>true ,
"rowactions"=>false,
….
)
);

Your Answer

15 + 15 =

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?