Class Number
Number column.
- Nette\Application\UI\PresenterComponent
- Grido\Components\Component
- Grido\Components\Columns\Column
- Grido\Components\Columns\Editable
- Grido\Components\Columns\Number
Package: Grido\Components\Columns
Author: Petr Bugyík
Located at Components/Columns/Number.php
Methods summary
public
|
#
__construct(
|
public
|
#
setNumberFormat( integer $decimals = NULL, string $decPoint = NULL, string $thousandsSep = NULL )
Sets number format. Params are same as internal function number_format(). |
public
array
|
|
protected
string
|
Methods inherited from Grido\Components\Columns\Editable
disableEditable()
,
getCellPrototype()
,
getEditableControl()
,
getHeaderPrototype()
,
setClientSideOptions()
,
setEditable()
,
setEditableCallback()
,
setEditableControl()
,
setEditableRowCallback()
,
setEditableValueCallback()
Methods inherited from Grido\Components\Columns\Column
applyReplacement()
,
getValue()
,
setCellCallback()
,
setColumn()
,
setCustomRender()
,
setCustomRenderExport()
,
setDefaultSort()
,
setFilterCheck()
,
setFilterCustom()
,
setFilterDate()
,
setFilterDateRange()
,
setFilterNumber()
,
setFilterSelect()
,
setFilterText()
,
setReplacement()
,
setSortable()
Methods inherited from Grido\Components\Component
addComponentToGrid()
,
getForm()
,
getGrid()
,
getPropertyAccessor()
,
translate()
Magic methods summary
Constants summary
integer |
NUMBER_FORMAT_DECIMALS
|
#
0
|
integer |
NUMBER_FORMAT_DECIMAL_POINT
|
#
1
|
integer |
NUMBER_FORMAT_THOUSANDS_SEPARATOR
|
#
2
|
Constants inherited from Grido\Components\Columns\Column
ID
,
ORDER_ASC
,
ORDER_DESC
,
VALUE_IDENTIFIER
Properties summary
protected
array
|
$numberFormat
|
#
array(
self::NUMBER_FORMAT_DECIMALS => 0,
self::NUMBER_FORMAT_DECIMAL_POINT => '.',
self::NUMBER_FORMAT_THOUSANDS_SEPARATOR => ','
)
|
Properties inherited from Grido\Components\Columns\Editable
$editable
,
$editableCallback
,
$editableControl
,
$editableDisabled
,
$editableRowCallback
,
$editableValueCallback
Properties inherited from Grido\Components\Columns\Column
$cellCallback
,
$cellPrototype
,
$column
,
$customRender
,
$customRenderExport
,
$customRenderVariables
,
$headerPrototype
,
$replacements
,
$sort
,
$sortable
Properties inherited from Grido\Components\Component
$form
,
$grid
,
$label
,
$propertyAccessor
,
$type
Magic properties
public
array
|
$numberFormat
|
Magic properties inherited from Grido\Components\Columns\Editable
$editableCallback
,
$editableControl
,
$editableRowCallback
,
$editableValueCallback
Magic properties inherited from Grido\Components\Columns\Column
$cellCallback
,
$cellPrototype
,
$column
,
$customRender
,
$customRenderExport
,
$customRenderVariables
,
$defaultSorting
,
$headerPrototype
,
$replacements
,
$sort
,
$sortable