TWebGridPanel
Description
Below is a list of the most important properties methods and events for TWebGridPanel
.
 |
 |
Designtime |
Runtime |
HTML template tag
The HTML tag the component can be associated with in an HTML template. Assign the ID
attribute with a unique value and set the identical value to the ElementID
property. Detailed
information can be found in the Use of HTML templates topic.
HTML tag |
<SPAN ID=”UniqueID”></SPAN> |
ElementID |
UniqueID |
Properties for TWebGridPanel
Property |
Description |
ColumnCollection |
Access to the collection of columns in the grid panel. The width, alignment, CSS, width style of each column can be specified
Alignment : sets the vertical alignment in the row to taLeftJustify , taCenter , taRightJustify ElementClassName: sets an optional CSS class name for the column
MarginLeft : sets a left margin in pixels MarginRight : sets a right margin in pixels
SizeStyle : sets the style of the width specification as percent, absolute, auto
Value : sets the width value |
ElementClassName |
Optionally sets the CSS classname for the label when styling via CSS is used |
ElementID |
Optionally sets the HTML element ID for a HTML element in the form HTML file the label needs to be connected with. When connected, no new label is created but the Delphi class is connected with the existing HTML element in the form HTML file |
ExpandStyle |
Can be set to esAddRows: new rows are added when new controls are inserted an no more grid cells are available esAddColumns: new columns are added when new controls are inserted an no more grid cells are available |
GridLineColor |
Sets the color of the grid lines |
GridLineWidth |
Sets the width of the grid lines |
RowCollection |
Access to the collection of rows in the grid panel. The height, alignment, CSS, height style of each row can be specified
Alignment : sets the vertical alignment in the row to vaTop , vaCenter , vaBottom ElementClassName : sets an optional CSS class name for the row MarginBottom : sets a bottom margin in pixels MarginTop : sets a top margin in pixels SizeStyle : sets the style of the height specification as percent, absolute, auto Value : sets the height value |
Events for TWebGridPanel
Property |
Description |
OnClick |
Event triggered when the panel is clicked |
OnClick |
Event triggered when the panel is double-clicked |