HtmlForgeX

API Reference

Class

DataTablesExport

Namespace HtmlForgeX
Assembly HtmlForgeX

Export configuration for DataTables buttons

Inheritance

  • Object
  • DataTablesExport

Constructors

public DataTablesExport() #

Properties

public String Text { get; set; } #
JsonPropertyName("text") JsonIgnore(Condition = 3)

Export button text

public String Extend { get; set; } #
JsonPropertyName("extend") JsonIgnore(Condition = 3)

Export format type

public String Filename { get; set; } #
JsonPropertyName("filename") JsonIgnore(Condition = 3)

Filename for exported file

public String Title { get; set; } #
JsonPropertyName("title") JsonIgnore(Condition = 3)

Title for exported document

public String ClassName { get; set; } #
JsonPropertyName("className") JsonIgnore(Condition = 3)

CSS class for the button

public DataTablesExportOptions ExportOptions { get; set; } #
JsonPropertyName("exportOptions") JsonIgnore(Condition = 3)

Export all rows or just visible ones

public String Action { get; set; } #
JsonPropertyName("action") JsonIgnore(Condition = 3)

Custom action function name

public String Customize { get; set; } #
JsonPropertyName("customize") JsonIgnore(Condition = 3)

JavaScript customize callback for Excel/PDF/Print buttons. Provide the full function body (e.g., function(xlsx){ ... }). Revived at runtime.