Controlling column’s width in List or Grid using Client Side API in Sage CRM – Part 2

By | July 20, 2020

Sage CRM has always been flexible enough to modify the look and feel of screens, lists, or grids. With the help of Standard CRM methods in combination with Client-side API, implementers can easily make such modifications to achieve business requirements. You can refer to our below post wherein we have explained part 1 of this topic.

Related Post: Controlling column’s width in List or Grid using Client Side API in Sage CRM

In our earlier post, we explained how to wrap the text as well as resize the column’s width to fit with other columns in the list or grid. In this article, we will explain how to define the size of a respective column to avoid the column text from getting wrapped and continuing from next line.

As you can see in below screenshot, the standard opportunity list has a column which displays Opportunity description. However, if the user tends to add a long description the data is wrapped to a new line.

Standard Opportunity List
Standard Opportunity List

Based on one of our client’s request, we were asked to customize the list to display the text in one line rather than letting it wrapped. To achieve this, we thought of using Client Side API as explained further –

  1. Go To, Administration–>Customization–> Opportunity and click on Lists Tab. From the list of options, open the list you want to make the changes for example Opportunity List and click on hyperlink.
  2. In Opportunity List screen, Add below code in Custom Content of the screen and save the changes.
Custom Content Code
Custom Content Code

Once the changes are saved, you can see that the list or grids column’s width is increased as per the width set to column. Below is the screenshot of the same –

Customized Opportunity List
Customized Opportunity List

In this way you can control any column’s width in List or Grid as per your convenience in Sage CRM Client Side API.

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.