C# Class EnterpriseWebLibrary.EnterpriseWebFramework.Controls.ColumnPrimaryTable

A column primary table. Do not use this control in markup.
Inheritance: System.Web.UI.WebControls.WebControl, ControlTreeDataLoader
Datei anzeigen Open project: enduracode/enterprise-web-library Class Usage Examples

Public Methods

Method Description
ColumnPrimaryTable ( bool hideIfEmpty = false, EwfTableStyle style = EwfTableStyle.Standard, IEnumerable classes = null, string caption = "", string subCaption = "", bool allowExportToExcel = false, Action>.IEnumerable tableActions = null, IEnumerable fields = null, IEnumerable headItems = null, int firstDataFieldIndex, IEnumerable itemGroups = null ) : System

Creates a table with multiple item groups.

ColumnPrimaryTable ( bool hideIfEmpty = false, EwfTableStyle style = EwfTableStyle.Standard, IEnumerable classes = null, string caption = "", string subCaption = "", bool allowExportToExcel = false, Action>.IEnumerable tableActions = null, IEnumerable fields = null, IEnumerable headItems = null, int firstDataFieldIndex, IEnumerable items = null ) : System

Creates a table with one item group.

Private Methods

Method Description
ControlTreeDataLoader ( ) : void

Method Details

ColumnPrimaryTable() public method

Creates a table with multiple item groups.
public ColumnPrimaryTable ( bool hideIfEmpty = false, EwfTableStyle style = EwfTableStyle.Standard, IEnumerable classes = null, string caption = "", string subCaption = "", bool allowExportToExcel = false, Action>.IEnumerable tableActions = null, IEnumerable fields = null, IEnumerable headItems = null, int firstDataFieldIndex, IEnumerable itemGroups = null ) : System
hideIfEmpty bool Set to true if you want this table to hide itself if it has no content rows.
style EwfTableStyle The table's style.
classes IEnumerable The classes on the table.
caption string The caption that appears above the table. Do not pass null. Setting this to the empty string means the table will have no caption. ///
subCaption string The sub caption that appears directly under the caption. Do not pass null. Setting this to the empty string means there will be /// no sub caption.
allowExportToExcel bool Set to true if you want an Export to Excel action link to appear. This will only work if the table consists of simple /// text (no controls).
tableActions Action>.IEnumerable Table action buttons. This could be used to add a new customer or other entity to the table, for example.
fields IEnumerable The table's fields. Do not pass an empty array.
headItems IEnumerable The table's head items.
firstDataFieldIndex int The index of the first data field.
itemGroups IEnumerable The item groups.
return System

ColumnPrimaryTable() public method

Creates a table with one item group.
public ColumnPrimaryTable ( bool hideIfEmpty = false, EwfTableStyle style = EwfTableStyle.Standard, IEnumerable classes = null, string caption = "", string subCaption = "", bool allowExportToExcel = false, Action>.IEnumerable tableActions = null, IEnumerable fields = null, IEnumerable headItems = null, int firstDataFieldIndex, IEnumerable items = null ) : System
hideIfEmpty bool Set to true if you want this table to hide itself if it has no content rows.
style EwfTableStyle The table's style.
classes IEnumerable The classes on the table.
caption string The caption that appears above the table. Do not pass null. Setting this to the empty string means the table will have no caption. ///
subCaption string The sub caption that appears directly under the caption. Do not pass null. Setting this to the empty string means there will be /// no sub caption.
allowExportToExcel bool Set to true if you want an Export to Excel action link to appear. This will only work if the table consists of simple /// text (no controls).
tableActions Action>.IEnumerable Table action buttons. This could be used to add a new customer or other entity to the table, for example.
fields IEnumerable The table's fields. Do not pass an empty array.
headItems IEnumerable The table's head items.
firstDataFieldIndex int The index of the first data field.
items IEnumerable The items.
return System