Show/Hide Columns with checkboxes

QuestionsShow/Hide Columns with checkboxes
Melissa asked 1 month ago

Hi. How do I show checkboxes in the show/hide columns modal? Right now it just highlights the columns that are visible where you can toggle between them. The example in ‘Alternate Row’ shows a lot more features than what I’m seeing. Also, notice that there’s two columns that are listed as null. Is that because their ‘search’ property is set to false? Thanks.

View post on




6 Answers
Abu Ghufran Staff answered 1 month ago

For those column you want to hide (null = no title columns), you need to set:

$col[“hidedlg”] = true;

To have checkboxes, you need to include these JS/CSS files. LINE 161, 162

Abu Ghufran - Dev Team
PHP Grid Framework
Melissa answered 1 month ago


Scott answered 1 month ago

This appears to work only once, after that, when you click on columns a second time, it reverts back to the original format with highlighting, no checkboxes

Melissa answered 1 month ago

Yes, I’m experiencing the same issue as Scott.

Abu Ghufran Staff answered 4 weeks ago

Ok, i’ll be updating back after review.

Abu Ghufran - Dev Team
PHP Grid Framework
Melissa answered 3 weeks ago

Hi Abu,

Any update on this issue? Thanks.

Your Answer

12 + 0 =

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 / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!