Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.TableLayoutConfig Class Reference

This layout allows you to easily render content into an HTML table. The total number of columns can be specified, and rowspan and colspan can be used to create complex layouts within the table. This class is intended to be extended or created via the layout: {type: 'table'} Ext.container.Container-layout config, and should generally not need to be created directly via the new keyword. More...

Inheritance diagram for Ext.Net.TableLayoutConfig:
Ext.Net.LayoutConfig Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase

Public Member Functions

 TableLayoutConfig ()
 
- Public Member Functions inherited from Ext.Net.LayoutConfig
 LayoutConfig ()
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 
virtual IControlBuilder ToNativeBuilder ()
 

Properties

override string LayoutType [get]
 
int Columns [get, set]
 
virtual DomObject TableAttrs [get]
 An object containing properties which are added to the DomHelper specification used to create the layout's <table> element. More...
 
virtual DomObject TDAttrs [get]
 An object containing properties which are added to the DomHelper specification used to create the layout's <td> elements. More...
 
virtual DomObject TRAttrs [get]
 An object containing properties which are added to the DomHelper specification used to create the layout's <tr elements. More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.LayoutConfig
virtual string LayoutType [get]
 
virtual string ItemCls [get, set]
 An optional extra CSS class that will be added to the container. This can be useful for adding customized styles to the container or any of its children using standard CSS rules. See Ext.Component.ctCls also. More...
 
virtual bool ReserveScrollbar [get, set]
 Set to true to leave space for a vertical scrollbar (if the OS shows space-consuming scrollbars) regardless of whether a scrollbar is needed. This is useful if content height changes during application usage, but you do not want the calculated width of child items to change when a scrollbar appears or disappears. The scrollbar will appear in the reserved space, and the calculated width of child Components will not change. More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

This layout allows you to easily render content into an HTML table. The total number of columns can be specified, and rowspan and colspan can be used to create complex layouts within the table. This class is intended to be extended or created via the layout: {type: 'table'} Ext.container.Container-layout config, and should generally not need to be created directly via the new keyword.

Note that when creating a layout via config, the layout-specific config properties must be passed in via the Ext.container.Container-layout object which will then be applied internally to the layout. In the case of TableLayout, the only valid layout config properties are columns and tableAttrs. However, the items added to a TableLayout can supply the following table-specific config properties:

rowspan Applied to the table cell containing the item. colspan Applied to the table cell containing the item. cellId An id applied to the table cell containing the item. cellCls A CSS class name added to the table cell containing the item. The basic concept of building up a TableLayout is conceptually very similar to building up a standard HTML table. You simply add each panel (or "cell") that you want to include along with any span attributes specified as the special config properties of rowspan and colspan which work exactly like their HTML counterparts. Rather than explicitly creating and nesting rows and columns as you would in HTML, you simply specify the total column count in the layoutConfig and start adding panels in their natural order from left to right, top to bottom. The layout will automatically figure out, based on the column count, rowspans and colspans, how to position each panel within the table. Just like with HTML tables, your rowspans and colspans must add up correctly in your overall layout or you'll end up with missing and/or extra cells!

Constructor & Destructor Documentation

◆ TableLayoutConfig()

Ext.Net.TableLayoutConfig.TableLayoutConfig ( )
inline

Property Documentation

◆ Columns

int Ext.Net.TableLayoutConfig.Columns
getset

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.TableLayoutConfig.ConfigOptions
get

◆ LayoutType

override string Ext.Net.TableLayoutConfig.LayoutType
getprotected

◆ TableAttrs

virtual DomObject Ext.Net.TableLayoutConfig.TableAttrs
get

An object containing properties which are added to the DomHelper specification used to create the layout's <table> element.

◆ TDAttrs

virtual DomObject Ext.Net.TableLayoutConfig.TDAttrs
get

An object containing properties which are added to the DomHelper specification used to create the layout's <td> elements.

◆ TRAttrs

virtual DomObject Ext.Net.TableLayoutConfig.TRAttrs
get

An object containing properties which are added to the DomHelper specification used to create the layout's <tr elements.


The documentation for this class was generated from the following files: