Hide Items in "More Button"

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
User avatar
Jay Webb
Veteran Member
Posts: 80
Joined: 2017-08-26 15:27
Contact:

Hide Items in "More Button"

Post by Jay Webb » 2018-05-09 07:31

Looking for some help finding how to hide or remove, Print Preview Detail View, Change Owner, Add More Actions in the More Button that show up when row is selected.
I tried adding css to the header-extra.php;

Code: Select all

.selected_records_print_multiple_dv_sdv {
  visibility: collapse;
}
.selected_records_mass_change_owner {
  visibility: collapse;
}
.selected_records_add_more_actions_link {
  visibility: collapse;
}
Anyone have ideas how to hide/collapse or delete, I don't need then in my application.

Thanks..
What we envision, we make happen.

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Hide Items in "More Button"

Post by pbottcher » 2018-05-09 10:32

Hi,

you can add in the footer-extras.php (in the hook folder) the following

Code: Select all

<script>
		$j('[id=selected_records_print_multiple_dv_tvdv]').remove();
		
		$j('[id=selected_records_mass_change_owner').remove();
		
		$j('[id=selected_records_add_more_actions_link').remove();
</script>
This shall remove those entries.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

User avatar
Jay Webb
Veteran Member
Posts: 80
Joined: 2017-08-26 15:27
Contact:

Re: Hide Items in "More Button"

Post by Jay Webb » 2018-05-09 16:43

Hi Pascal
Well, you nailed it, only needed small adjustment,you had [id=selected_records_print_multiple_dv_tvdv] and what worked in mine was,
[id=selected_records_print_multiple_dv_sdv].
Wish I had your knowledge on php, jQuery, Java and MySql, mine is very limited.

Once again, Thank You..
What we envision, we make happen.

Post Reply