Some columns not being hidden correctly

QuestionsSome columns not being hidden correctly
Michael Murphy asked 3 years ago

I have some columns on my grid with the option $col["hidden"] = true;, which are hidden from my grid, as required. However, some other columns have this option, and are not being hidden.

Code for a column that is being hidden:

$col = array();
$col["name"] = "nominalExport";
$col["hidden"] = true;
$col["hidedlg"] = true;
$col["export"] = true;
$cols[] = $col;

Code for a column that is not being hidden:

$col = array();
$col["name"] = "s1Cp1Bb1";
$col["hidden"] = true;
$col["hidedlg"] = true;
$col["export"] = true;
$cols[] = $col;

As far as I can tell, both columns are defined in the exact same way. Any idea why some columns are being successfully hidden, and not others?

2 Answers
Michael Murphy answered 3 years ago

Forgot to mention, the $col["hidedlg"] = true; option is working fine – both columns don’t show up in the column chooser.

Abu Ghufran Staff answered 3 years ago

I’ve emailed you the latest build. Please re-check after updating it.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

14 + 10 =

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?