Activate Web Grid - Feature Overview
12 min
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