API Reference
Class
DataTablesCellValue
Reusable typed cell contract for DataTables values, including shared datasets.
Inheritance
- Object
- DataTablesCellValue
Constructors
public DataTablesCellValue() #Methods
public static DataTablesCellValue Badge(String text, DataTablesCellTone tone, IComparable sort = null, String raw = null) #Returns:
DataTablesCellValueParameters
- text String
- tone DataTablesCellTone
- sort IComparable = null
- raw String = null
public static DataTablesCellValue BadgeList(IEnumerable<DataTablesBadgeItem> badges, String raw = null) #Returns:
DataTablesCellValueParameters
- badges IEnumerable<DataTablesBadgeItem>
- raw String = null
public static DataTablesCellValue EllipsisText(String text, Int32 maxWidthPx = 420, String raw = null) #Returns:
DataTablesCellValueParameters
- text String
- maxWidthPx Int32 = 420
- raw String = null
public static DataTablesCellValue Link(String text, String href, IComparable sort = null, String raw = null) #Returns:
DataTablesCellValueParameters
- text String
- href String
- sort IComparable = null
- raw String = null
public static DataTablesCellValue TextCell(String text, IComparable sort = null, String raw = null) #Returns:
DataTablesCellValueParameters
- text String
- sort IComparable = null
- raw String = null
public static DataTablesCellValue WrapText(String text, Int32 maxChars = 16384, String raw = null) #Returns:
DataTablesCellValueParameters
- text String
- maxChars Int32 = 16384
- raw String = null
Inherited Methods
Properties
public DataTablesCellKind Kind { get; set; } #public String Text { get; set; } #public String Sort { get; set; } #public String Filter { get; set; } #public String Export { get; set; } #public String Raw { get; set; } #public String Title { get; set; } #public String Href { get; set; } #public String ClassName { get; set; } #public Nullable<Int32> MaxWidthPx { get; set; } #public DataTablesCellTone Tone { get; set; } #public IReadOnlyList<DataTablesBadgeItem> Badges { get; set; } #