The recent release of Stadium 4 includes a new feature, which is the Global Format Conditions. This feature allows you to define general Font properties which can then be used in Format Conditions editor. It reduces repetitive actions on applying the same format across different DataGrid or DetailsView columns. Here are some guidelines on how to use this new feature.
Quick step summary :
- Add and specify a global format condition in the FormatConditions node.
- Select the GlobalFormatCondition from the dropdown list in Format Conditions editor.
- Apply the format condition to the DataGrid column or DetailsView field.
Adding a GlobalFormatCondition
- Navigate to the FormatConditions node in your SAP file.
- Right-click on the FormatConditions node and click on “New Format Condition”. A new GlobalFormatCondition will be added.
- Change the Name from default "GlobalFormatCondition1" to “BoldRed”.
Specifying Font properties
- On the newly added "BoldRed" condition, expand “Font” property. You will see a list of properties.
- Specify the properties according to your requirements. In this scenario, I am setting it to “Bold” and “Red”.
Using GlobalFormatCondition
- GlobalFormatCondition can be used within the DataGrid and DetailsView Format Conditions editor.
- Open the Format Conditions editor and add a FormatCondition.
- Specify Conditions and select “BoldRed” from the GlobalFormatCondition dropdown list. You will notice that the Font properties are automatically populated with the GlobalFormatCondition values.
- Click OK.
- Link the FormatCondition to a column. The format will be applied to the column.
[…] Global Format Conditions Application Explorer>FormatConditions […]
ReplyDelete[…] features in FormatCondtions – Global formatting for Font, ColourField […]
ReplyDelete