Grid column header alignment

By | December 29, 2008

To change the alignment of the grid column header, you can write client side script using CustomContent of the required List Block of your Entity from “Administration>>Customization>>Entity Name>>Lists tab>>List Block Name”.

Changing the Caption Name to use HTML will affect all occurrences of this field name in CRM. Write below mentioned script with Onload event of Window.

// Script to change the alignment of the grid column
var obj = document.all;
for (var i = 0; i < obj.length; i++)
{
if (document.all(i).className == “GRIDHEAD”)
{
//instead of “Notes” you need to write your column header name. If field caption is ‘Amount’, replace ‘Notes’ with ‘Amount’
if (document.all(i).innerText == “Notes”)
{
document.all(i).setAttribute(“align”,”Right”);
}
}
}

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

Greytrix has some unique integration solutions for Sage CRM with Sage ERPs (Sage Enterprise Management (Sage X3), Sage Intacct, Sage 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 migrating of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature and Sage CRM CTI Framework.

Greytrix is a recognized Sage Rockstar ISV Partner for GUMU™ Sage Enterprise Management – 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.