1

in general, I am not using the print icon from CiviCRM because (1) it doesn't print nicely and (2) when printing a contact page with a custom field tab, the icon prints the summary page.

Therefore, I've decided to hide the print icon and use the regular "File - Print" path. I noticed that when printing datatables with multiple custom fields set which allows multiple records for a contact, the tables extend beyond the container. When I look into the code, I see:

<div class="crm-datatable-pager-top">...</div> <div
id="records-6_processing" class="dataTables_processing"
style="display: none;"> </div> <table id="records-6"
class="crm-multifield-selector crm-ajax-table dataTable no-footer"
role="grid" aria-describedby="records-6_info" style="width: 1399px;">

I can't seem to find the file where I can change "width: 1399px" to "width: 100%."

  • <div class="crm-datatable-pager-top">...</div> <div id="records-6_processing" class="dataTables_processing" style="display: none;"> </div> <table id="records-6" class="crm-multifield-selector crm-ajax-table dataTable no-footer" role="grid" aria-describedby="records-6_info" style="width: 1399px;"><thead><tr role="row"><th data-data="individual_type_30" cell-data-type="select" cell-data-empty-option="- none -" class="sorting ui-state-default" tabindex="0" aria-controls="records-6" rowspan="1" colspan="1" aria-label="Individual Type: activate to sort column ascending" style="width: 228px;"> – Kristine Aug 28 '17 at 4:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.