Remove Column Selection button in Grid

QuestionsRemove Column Selection button in Grid
varun asked 11 years ago

Hi Abu,
Plz can you let me know,how to remove the Column selection button in navigation bar.

1 Answers
Abu Ghufran answered 11 years ago

Hello,

Set "showhidecolumns" => false in set_actions.

$g->set_actions(array(
"add"=>true, // allow/disallow add
"edit"=>true, // allow/disallow edit
"delete"=>true, // allow/disallow delete
"view"=>true, // allow/disallow delete
"rowactions"=>true, // show/hide row wise edit/del/save option
"showhidecolumns" => false
)
);

Your Answer

18 + 20 =

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?