show all but no 'unselect all' button
- D Oliveira
- AppGini Super Hero
- Posts: 357
- Joined: 2018-03-04 09:30
- Location: David
show all but no 'unselect all' button
hey ive been struggling to find the .php file responsible for this button, the show all button selects all the boxes but theres no option no unselect all of them, I have 50+ fields and its annoying to go one by one, can someone help? *highlight red box* attachment
- Attachments
-
- showall.png (142.07 KiB) Viewed 3077 times
Re: show all but no 'unselect all' button
Thanks for the feedback on this. We'll add a 'Hide all' button in the next release. The file that renders this menu is datalist.php ... Look for "toggle-columns-container"

- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
- D Oliveira
- AppGini Super Hero
- Posts: 357
- Joined: 2018-03-04 09:30
- Location: David
Re: show all but no 'unselect all' button
can u please elaborate on that
- D Oliveira
- AppGini Super Hero
- Posts: 357
- Joined: 2018-03-04 09:30
- Location: David
Re: show all but no 'unselect all' button
For those who might have the same question.
1- search for id="show-all-columns" in the file datalist.php
2- add the following div code under the show all button
3- in the bottom of the file add this other function
1- search for id="show-all-columns" in the file datalist.php
2- add the following div code under the show all button
Code: Select all
<div class="col-md-12"><button type="button" class="btn btn-default btn-block" id="show-all-columns2"><i class="glyphicon glyphicon-remove-circle"></i> <?php echo 'Clear Fields'; ?></button></div>
Code: Select all
$j('#show-all-columns2').click(function(){
$j('#toggle-columns input[type=checkbox]:checked').trigger('click');
});