$col["viewable"] = false NOT working

Questions$col["viewable"] = false NOT working
Cedric asked 8 years ago

Hello,
I try to hide a column with
$col = array();
$col["title"] = "Etat2";
$col["name"] = "d_status";
$col["width"] = "15";
$col["viewable"] = false;
$cols[] = $col;

but the column is still there.
In both edit and view mode…
Can you help?
Thanks
Cedric

1 Answers
Abu Ghufran answered 8 years ago

You can also try setting:
$col["show"]["edit"] = false;
$col["show"]["view"] = false;

Your Answer

3 + 5 =

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?