Activate Web Grid - Feature Overview
This document provides an overview of the features available in the Activate Web Grid, including column types, properties, formatting options, and footers.
Column Types
Type | Description | Example |
|---|---|---|
ActivateGridColumn | Base class for all columns | <ActivateGridColumn Title="Id" BoundValue="@=/Id" /> |
ProvisioningObjectNameColumn | Displays an icon and name, with a link to the object's ClientPath (typically properties). Requires each row to be a ProvisioningObject. | <ProvisioningObjectNameColumn Title="User" BoundValue="@=/User" /> |
ObjectLinkColumn | Similar to ProvisioningObjectNameColumn but works with any object type. The name is the BoundValue. Link and Icon properties can be set. | <ObjectLinkColumn Title="Job" BoundValue="@=/JobID" Icon="job" Link="@/Job/%=/JobID" /> |
ActivateImageColumn | Displays an image in the column. | <ActivateImageColumn Title="User" BoundValue="@=/user/imageurl" /> |
More... | Other specific column types are designed for internal grids and are not intended for custom grids. | |
ActivateGridColumn Properties
Name | Description | Example |
|---|---|---|
Title | Title of the column | "User" or "JobID" |
CssClass | Expression to override the CSS class per cell | @=if(=/user/IsDisabled, "highlight", "normal") |
Width | Fixed width hint for the column | 100px or 20% |
Visible | Controls visibility of the column | True or False |
Hidden | Hides the column by default; users can choose to display it | True or False |
Format | Hint to the client for rendering the value (see Column Formats) | "money", "datetime" |
Wrap | Whether to wrap long text | True or False |
Link | Hyperlink applied to the column content | @"/Job/%=/JobID%" |
ReturnPage | Page to return to when item is clicked | "current" |
Align | Text alignment | left, right, center, justify, inherit |
Padding | Custom cell padding | 'checkbox', 'none', 'normal', 'default' |
Target | Hyperlink target | _blank, dialog, document |
FooterText | Footer content for the column | See Footer Text section |
ProvisioningObjectNameColumn - Additional Properties
Defaults: Format="object" and ReturnPage="current"
Name | Description | Example |
|---|---|---|
DisplayName | Override the object's display name. Defaults to =/DisplayName. | @=/Description |
DisplayDirectoryEntry | If the object is a RoleMember, display the user rather than the role. | True or False |
ObjectLinkColumn - Additional Properties
Defaults: Format="object" and ReturnPage="current"
Name | Description | Example |
|---|---|---|
DisplayName | Override the display name of the object | @=/Description |
Icon | Expression for the icon per row | @=/user/ImageUrl |
Action | A MenuLink to dynamically change the link per row | (custom action) |
ActivateImageColumn - Additional Properties
Defaults: Format="image" (uses the BoundValue for the image URL)
Name | Description | Example |
|---|---|---|
Size | Icon size override | sm, md, etc. |
TitleValue | Override the image's title/alt text | (custom expression) |
Column Formats
Column formats control how data is displayed on the client side.
Name | Description | Example |
|---|---|---|
datetime | Standard date and time format | 2/2/23 12:20 |
dateortime | Displays date or time. If the date is today, shows the time; otherwise, the date. | 2/2/23 or 12:20 |
money | Converts value to a monetary format | $12.34 |
Footer Text
Footers can summarize or compute values for each column.
FooterText Value | Description |
|---|---|
#SUM() | Sum of the column's numeric values |
#AVG() | Average of the column's numeric values |
#COUNT() | Count of values in the column |
=EXPRESSION | Result of a custom expression |
"String" | A constant string value |