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.
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
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
Ok, i’ll be updating back after review.
This ticket remain unanswered due to an issue on our side.
Please try using these CDN js/css files. Rawgit is closing and there could be issue in loading files from there.
CSS: https://cdn.jsdelivr.net/gh/wenzhixin/[email protected]/multiple-select.css
JS: https://cdn.jsdelivr.net/gh/wenzhixin/[email protected]/multiple-select.js
I tested it multiple times and unable to generate this issue.