sc_text_style({My_Field}, "Background-Color", "Size", "Color", "Family", "Weight")
|
|
This macro allows us to modify the text style of a grid field dynamically.
| Parameter |
Description |
| Field |
Name |
| Background-Color (optional) |
Text cell background Color |
| Size (optional) |
Text font size |
| Color (optional) |
Text Color |
| Family (optional) |
Text family |
| Weight (optional) |
Text weight |
Ex. 1: sc_text_style({my_field}, '#33FF99', '15px', '#000000', 'Arial, sans-serif', 'bold');
|
Macro Scope
|
calendar application
|
chart application
|
Grid application
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Tree menu
|
ReportPDF application
|
| allMacros
|
allMacros
|
onRecord
|
allMacros
|
allMacros
|
allMacros
|
allMacros
|
allMacros
|
allMacros
|
|