Class QDataGridLegacyColumn
This defines a specific column
- QBaseClass
- QDataGridLegacyColumn
Direct known subclasses
QCheckBoxLegacyColumn
public
|
#
__construct( string $strName, null|string $strHtml = null, null|mixed $objOverrideParameters = null )
Constructor |
public
string
|
#
GetAttributes( boolean $blnIncludeCustom,…, boolean $blnIncludeAction,… )
Returns the HTML attributes for the column |
public
|
#
FilterAddListItem( null|string $arg1 = null, null|
Creates a list for a column's filter Two ways of calling the fuction: 1. specify only one paramter and it should be an advanced list item 2. the other way is to call it using 2 parameters with first one being a name and other a value |
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
mixed
|
OverrideAttributes(),
__call()
|
protected
null|string
|
$strBackColor
Background colour of an element of this column null = not specified in rendered HTML (browser or another CSS rule can determine value) string = applied as-is |
#
null
|
protected
null|string
|
$strBorderColor
Border colour of an element of this column null = not specified in rendered HTML (browser or another CSS rule can determine value) string = applied as-is |
#
null
|
protected
string
|
$strBorderStyle
Border style of an element of this column (constant from QBorderStyle class) |
|
protected
null|string
|
$strBorderWidth
Border width of an element of this column null = not specified in rendered HTML (browser or another CSS rule can determine value) string = applied as-is |
#
null
|
protected
null|string
|
$strCssClass
CSS class of an element of this column null = not specified in rendered HTML string = applied as-is |
#
null
|
protected
boolean
|
$blnFontBold
Determines if the font will be bold |
#
false
|
protected
boolean
|
$blnFontItalic
Determines if the font will be italicized |
#
false
|
protected
null|string
|
$strFontNames
Font family to be used (can use a value from QFontFamily class) |
#
null
|
protected
boolean
|
$blnFontOverline
Determines if the font will have an overline |
#
false
|
protected
null|string|integer
|
$strFontSize
Font size of the element in this column null = not specified in rendered HTML (browser or another CSS rule can determine value) string = applies as-is integer = interpreted as value in pixels |
#
null
|
protected
boolean
|
$blnFontStrikeout
Determines if the font will be striked out |
#
false
|
protected
boolean
|
$blnFontUnderline
Determines if the font will be underlined |
#
false
|
protected
null|string
|
$strForeColor
Text Color of the element in this column null = not specified in rendered HTML (browser or another CSS rule can determine value) string = applied as-is |
#
null
|
protected
string
|
$strHorizontalAlign
The horizontal text alignment attribute for the element in this column |
|
protected
string
|
$strVerticalAlign
The vertical alignment attribute for the element in this column |
|
protected
null|string|integer
|
$strWidth
Column width null = not specified in rendered HTML (browser or another CSS rule can determine value) string = applies as-is integer = interpreted as value in pixels |
#
null
|
protected
boolean
|
$blnWrap
Determines if the column will have nowrap html attribute set on it or not |
#
true
|
protected
boolean
|
$blnHasResetButton
If the concerned row is a filter row then this variable determines if it has a Reset Button on it |
#
false
|
protected
null| |
$objOrderByClause
The ordering clause associated with this column This clause is utilized when user clicks on the top row which can be used to order results |
#
null
|
protected
null| |
$objReverseOrderByClause
The REVERSED ordering clause associated with this column |
#
null
|
protected
integer
|
$intFilterBoxSize
Determines the width ("size" attribute) of the input control of this column on the filter row |
#
10
|
protected
string
|
$strFilterType
Type of filter to be used for this column (text/list) |
|
protected
null|integer
|
$intFilterColId
The filter column id to be used for the column It is derived from the index of the column in the datagrid |
#
null
|
protected
array
|
$arrFilterList
|
#
array()
|
protected
|
$objActiveFilter
|
#
null
|
protected
|
$objFilterConstant
|
#
null
|
protected
string
|
$strFilterPrefix
|
#
''
|
protected
string
|
$strFilterPostfix
|
#
''
|
protected
|
$arrFilterByCommand
|
#
null
|
protected
string
|
$strName
Name of the column to be shown on the top row |
|
protected
null|string
|
$strHtml
Contents of the column |
|
protected
boolean
|
$blnHtmlEntities
Determines if the contents of this column have to be processed through HtmlEntities |
#
true
|
public
string
|
$BackColor
Background colour of an element of this column |
public
string
|
$BorderColor
Border colour of an element of this column |
public
string
|
$BorderStyle
Border style of an element of this column (constant from QBorderStyle class) |
public
string
|
$BorderWidth
Border width of an element of this column |
public
string
|
$CssClass
CSS class of an element of this column |
public
boolean
|
$FontBold
Determines if the font will be bold |
public
boolean
|
$FontItalic
Determines if the font will be italicized |
public
string
|
$FontNames
Font family to be used (can use a value from QFontFamily class) |
public
boolean
|
$FontOverline
Determines if the font will have an overline |
public
string|integer
|
$FontSize
Font size of the element in this column |
public
boolean
|
$FontStrikeout
Determines if the font will be striked out |
public
boolean
|
$FontUnderline
Determines if the font will be underlined |
public
null|string
|
$ForeColor
Text Color of the element in this column |
public
string
|
$HorizontalAlign
The horizontal text alignment attribute for the element in this column |
public
string
|
$VerticalAlign
The vertical alignment attribute for the element in this column |
public
string|integer
|
$Width
Column width |
public
boolean
|
$Wrap
Determines if the column will have nowrap html attribute set on it or not |
public
mixed
|
$OrderByClause
The ordering clause associated with this column |
public
null| |
$ReverseOrderByClause
The REVERSED ordering clause associated with this column |
public
mixed
|
$FilterByCommand
|
public
integer
|
$FilterBoxSize
Determines the width ("size" attribute) of the input control of this column on the filter row |
public
string
|
$FilterType
Type of filter to be used for this column (text/list) |
public
mixed
|
$FilterList
|
public
integer
|
$FilterColId
The filter column id to be used for the column |
public
string
|
$FilterPrefix
|
public
string
|
$FilterPostfix
|
public
mixed
|
$FilterConstant
|
public
mixed
|
$SortByCommand
|
public
mixed
|
$ReverseSortByCommand
|
public
string
|
$Html
is the contents of the column itself -- the $this->strHtml contents can contain backticks ` to deliniate commands that are to be PHP evaled (again, see DataGrid.inc for more info) |
public
string
|
$Name
is the name of the column, as displayed in the DataGrid's header row for that column |
public
boolean
|
$HtmlEntities
Determines if the contents of this column have to be processed through HtmlEntities |
public
boolean
|
$HasResetButton
If the concerned row is a filter row then this variable determines if it has a Reset Button on it |
public read-only
array
|
$FilterInfo
|
public read-only
mixed
|
$ActiveFilter
|
public write-only
mixed
|
$Filter
|