HtmlForgeX

API Reference

Command

New-HtmlXDataGridBadgeItem

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerDataGridItem

Adds a badge item to the current data grid.

Remarks

Use inside New-HtmlXDataGrid { }.

Examples

Imported script example

New-HtmlXDataGridBadgeItem -Title "Environment" -Text "Prod" -Color Primary
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HtmlXDataGridBadgeItem [-Color <Blue>] [-Style <Normal|Outline|Pill|Soft>] [-Text <string>] [-Title <string>] [<CommonParameters>]
#

Parameters

Color TablerColor optionalposition: namedpipeline: falsevalues: 62
Badge color. Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Style TablerBadgeStyle optionalposition: namedpipeline: falsevalues: 4
Badge style. Possible values: Normal, Outline, Pill, Soft
Possible values: Normal, Outline, Pill, Soft
Text string optionalposition: namedpipeline: false
Badge text.
Title string optionalposition: namedpipeline: false
Item title.

Outputs

HtmlForgeX.TablerDataGridItem