Add additional styles to grid view components. To recap the steps in the video:
Highlight inactive customers
- Hide the
UID
column - Add two new businesses, the first with Active ticked and the second without Active ticked
- Add Conditional Formatting on the View attribute
Name
with the following settings:- Name:
InactiveCustomer
- Rule Expression:
_current.Active != true
- Add a Style with the settings:
- Name:
InactiveCustomer
- Text Colour:
red
- Name:
- Name:
Style selected item
- In the configuration form for the
Businesses
Grid View, under the Styles Settings add a style to Row Selection Style with the settings:- Name:
SelectedBusiness
- Font Weight:
bold
- Font Style:
Italic
- Name:
Update header styles
- In the configuration form for the
Businesses
Grid View, under the Styles Settings add a style to Grid Header Style with the settings: - Name:
BusinessGridHeader
- Text Size:
22
Grouping grid headers
- In the configuration form for the Name attribute set the Label to
Business
,Name
. The element before the comma will provide the grouping - Repeat the above step for
Type
- Group the address details together using
Address
- And logically group your remaining fields
Next video: 9. Adding Fields to Apps