API Reference
Class
DataTablesBooleanFormatterBuilder
Fluent helper to configure boolean value rendering for DataTablesTable. Produces and attaches a BooleanValueTransformer.
Inheritance
- Object
- DataTablesBooleanFormatterBuilder
Methods
public DataTablesBooleanFormatterBuilder Badges() #Returns:
DataTablesBooleanFormatterBuilderRender booleans using Bootstrap badges.
public DataTablesBooleanFormatterBuilder Icons() #Returns:
DataTablesBooleanFormatterBuilderRender booleans using simple icons (check/cross).
public DataTablesBooleanFormatterBuilder Style(DataTablesBooleanStyle style) #Returns:
DataTablesBooleanFormatterBuilderSets the boolean display style.
Parameters
- style HtmlForgeX.DataTablesBooleanStyle
public DataTablesBooleanFormatterBuilder YesNo(String yes = "Yes", String no = "No") #Returns:
DataTablesBooleanFormatterBuilderUse friendly text and customize labels.
Parameters
- yes System.String = "Yes"
- Text for true values.
- no System.String = "No"
- Text for false values.