Increasing Reference Column Width In Sage CRM

By | June 22, 2020

Recently in the community forum there was an requirement, where user wanted to show reference no of Case, Order or Quote in a single line instead of it being displayed in two separate lines.  This can be easily achieve by writing simple jquery code. In this blog we will see how to achieve the same.

New Stuff: Display Selection field value as an Icon using Client Side API

Currently if you will notice in below screenshot, Reference No of Order is displayed in two separate lines.

Reference Column
Reference Column

Now in order to show reference of order in single line, we will have to increase the width of Reference field. To do this, we need to follow below steps:

  1. Login to Sage CRM as Admin user.
  2. Navigate to below path.
    Administration | Customization | Orders
  3. Navigate to List tab and click on the Order List Box List.
  4. Copy and Paste below code into the Custom Content section of Screen.
<script>
crm.ready(function()
{
	$(".CONTENTGRID [colName='orde_reference']").css('width', '80px');
})
</script>

Click on Save Button. Refer below screenshot: 

Custom Content
Custom Content

Clear Browser cache.

Now, navigate to Order List against an Opportunity record and you will see that width of Reference field has increased and it can be seen in same line. Refer below screenshot:

Reference Column
Reference Column

Similarly if we want to increase width of any other column in any of the list or grid, we can use above code and just need to replace ‘orde_reference‘ field with the name of column whose width needs to be increased.

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation competence.

Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3Sage IntacctSage 100Sage 500 and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users and Sage PSG worldwide. Greytrix helps in migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like  Greytrix Business ManagerSage CRM Project ManagerSage CRM Resource PlannerSage CRM Contract ManagerSage CRM Event ManagerSage CRM Budget PlannerGmail IntegrationSage CRM Mobile Service Signature and Sage CRM CTI Framework.

Greytrix is a recognized Sage Champion ISV Partner for GUMU™ Sage X3 – Sage CRM integration also listed on Sage Marketplace.

For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.