Apply Caption Properties using Sage CRM Client Side API

By | March 31, 2015

In our earlier posts, we had explained number of Sage CRM Client Side techniques that can be used to customize Sage CRM Lists, Grids, Fields etc. In this blog, we will explain Sage CRM field Caption Methods/Properties controlled by Client Side API.
New Stuff: Highlight All Grid Rows in Sage CRM v7.3
Sage CRM Client Side API Caption methods are as follows.
1) background (color)
It is used to apply Caption Background color.
Example:
crm.fields(“comp_name”).caption().background(“red”);
2) bold (remove)
It is used to display Font Caption in bold.
Example:
crm.fields(“comp_name”).caption().bold();
3) color (obj)
It is used to apply color to Caption Text.
Example:
crm.fields(“comp_name”).caption().color(“red”);
4) hide (obj)
It is used to hide Caption.
Example:
crm.fields(“comp_name”).caption().hide();
5) italic (obj)
It is used to display font text in Italic.
Example:
crm.fields(“comp_name”).caption().italic();
6) strike (obj)
It is used to apply strike to the Text of Caption.
Example:
crm.fields(“comp_name”).caption().strike();
7) underline (obj)
It is used to draw underline to the Text of Caption.
Example:
crm.fields(“comp_name”).caption().underline();
These are the few Caption methods that can be used within Sage CRM on any screens.
Also Read:
1) Additional Information in Entity Top Content Screens – Sage CRM v7.2
2) Add Print Button to Print Entity information in Sage CRM v7.2
3) Display Background Color on Required Fields in Sage CRM v7.2
4) Information and Error Message feature in Sage CRM v7.2
5) Features of Outlook integration with SageCRM 7.2