Page 1 of 1

Hide Items in "More Button"

Posted: 2018-05-09 07:31
by Jay Webb
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..

Re: Hide Items in "More Button"

Posted: 2018-05-09 10:32
by pbottcher
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.

Re: Hide Items in "More Button"

Posted: 2018-05-09 16:43
by Jay Webb
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..