Show/Hide Columns with checkboxes

QuestionsShow/Hide Columns with checkboxes
Melissa asked 3 months 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 imgur.com

 

 

 

6 Answers
Abu Ghufran Staff answered 3 months 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.

http://phpgrid.org/demo/demos/appearance/alternate-row.phps LINE 161, 162

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

Thanks!

Scott answered 3 months 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 3 months ago

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

Abu Ghufran Staff answered 3 months ago

Ok, i’ll be updating back after review.

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

Hi Abu,

Any update on this issue? Thanks.

Your Answer

14 + 3 =

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!