Main
Examples
Documentation
Contact us
Search
Preparing search index...
The search index is not available
table4js-components - v0.2.14
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
table4js-components - v0.2.14
Table
Class Table
Creates Table class.
param config
table options.
Hierarchy
Base
Table
Implements
IDataProviderOwner
Index
Constructors
constructor
Properties
_data
Provider
_detach
Handler
allow
Row
Selection
columns
config
cur
Col
cur
Col
Width
edit
Mode
element
icons
inner
Actions
is
Merged
Cells
is
Number
last
Offset
last
Offset
Back
last
Select
Row
layout
Elemets
load
Batch
Size
load
More
load
More
Back
loading
Mutex
nxt
Col
nxt
Col
Width
pageX
plugins
rows
show
Search
show
Table
Summary
start
Row
table
Head
Height
total
Count
row
Height
Accessors
bottom
Actions
column
Header
Actions
data
data
Provider
dropdown
Actions
key
Column
no
Data
Text
row
Actions
selected
Rows
top
Actions
Methods
add
Layout
Element
attach
click
Column
click
Row
create
Actions
create
Column
create
Columns
create
Row
detach
dispose
get
Actions
get
Layout
Elements
get
Property
Value
get
Property
Value
Core
get
Style
Val
load
Rows
Batch
log
Mouse
Down
log
Mouse
Move
log
Mouse
Out
log
Mouse
Over
log
Mouse
Up
navigate
To
on
Property
Value
Changed
padding
Diff
refresh
register
Plugin
register
Property
Value
Listner
remove
Layout
Element
select
Row
selection
Changed
set
Property
Value
set
Property
Value
Core
un
Register
Property
Value
Listner
unregister
Plugin
create
Properties
Storage
finish
Collect
Dependencies
start
Collect
Dependencies
Constructors
constructor
new
Table
(
config
:
ITableConfig
, element
?:
HTMLElement
)
:
Table
Parameters
config:
ITableConfig
Optional
element:
HTMLElement
Returns
Table
Properties
Private
_data
Provider
_data
Provider
:
IDataProvider
= undefined
Protected
_detach
Handler
_detach
Handler
:
(
(
)
=>
void
)
= undefined
Type declaration
(
)
:
void
Returns
void
allow
Row
Selection
allow
Row
Selection
:
boolean
columns
columns
:
ITableColumn
[]
config
config
:
ITableConfig
Private
cur
Col
cur
Col
:
any
= undefined
Private
cur
Col
Width
cur
Col
Width
:
any
= undefined
edit
Mode
edit
Mode
:
"inplace"
|
"row"
|
"aside"
= "inplace"
Private
element
element
:
HTMLElement
icons
icons
:
Icons
= Icons
Private
inner
Actions
inner
Actions
:
IAction
[]
= []
is
Merged
Cells
is
Merged
Cells
:
boolean
is
Number
is
Number
:
boolean
Private
last
Offset
last
Offset
:
number
= 0
Private
last
Offset
Back
last
Offset
Back
:
number
= 0
last
Select
Row
last
Select
Row
:
any
= null
Private
layout
Elemets
layout
Elemets
:
ILayoutElement
[]
= []
load
Batch
Size
load
Batch
Size
:
number
= 10
load
More
load
More
:
boolean
load
More
Back
load
More
Back
:
boolean
loading
Mutex
loading
Mutex
:
boolean
Private
nxt
Col
nxt
Col
:
any
= undefined
Private
nxt
Col
Width
nxt
Col
Width
:
any
= undefined
Private
pageX
pageX
:
any
= undefined
Private
plugins
plugins
:
ITablePlugin
[]
= []
rows
rows
:
ITableRow
[]
show
Search
show
Search
:
boolean
show
Table
Summary
show
Table
Summary
:
boolean
start
Row
start
Row
:
number
table
Head
Height
table
Head
Height
:
number
total
Count
total
Count
:
number
Static
row
Height
row
Height
:
number
= 20
Accessors
bottom
Actions
get
bottomActions
(
)
:
any
[]
Returns
any
[]
column
Header
Actions
get
columnHeaderActions
(
)
:
any
[]
Returns
any
[]
data
set
data
(
_data
:
any
[]
)
:
void
Parameters
_data:
any
[]
Returns
void
data
Provider
get
dataProvider
(
)
:
IDataProvider
set
dataProvider
(
provider
:
IDataProvider
)
:
void
Returns
IDataProvider
Parameters
provider:
IDataProvider
Returns
void
dropdown
Actions
get
dropdownActions
(
)
:
any
[]
Returns
any
[]
key
Column
get
keyColumn
(
)
:
string
Returns
string
no
Data
Text
get
noDataText
(
)
:
any
Returns
any
row
Actions
get
rowActions
(
)
:
any
[]
Returns
any
[]
selected
Rows
get
selectedRows
(
)
:
ITableRow
[]
Returns
ITableRow
[]
top
Actions
get
topActions
(
)
:
any
[]
Returns
any
[]
Methods
add
Layout
Element
add
Layout
Element
(
element
:
ILayoutElement
)
:
ILayoutElement
Parameters
element:
ILayoutElement
Returns
ILayoutElement
attach
attach
(
element
:
HTMLElement
)
:
void
Parameters
element:
HTMLElement
Returns
void
click
Column
click
Column
(
column
:
ITableColumn
, event
:
any
)
:
void
Parameters
column:
ITableColumn
event:
any
Returns
void
Protected
click
Row
click
Row
(
row
:
ITableRow
, event
:
any
)
:
void
Parameters
row:
ITableRow
event:
any
Returns
void
Protected
create
Actions
create
Actions
(
config
:
ITableConfig
)
:
void
Parameters
config:
ITableConfig
Returns
void
Protected
create
Column
create
Column
(
column
:
any
, model
:
ITableConfig
)
:
ITableColumn
Parameters
column:
any
model:
ITableConfig
Returns
ITableColumn
Protected
create
Columns
create
Columns
(
config
:
ITableConfig
)
:
void
Parameters
config:
ITableConfig
Returns
void
create
Row
create
Row
(
data
:
{}
, num
?:
number
, back
?:
boolean
)
:
ITableRow
Parameters
data:
{}
[
key:
string
]:
string
|
number
Optional
num:
number
back:
boolean
= false
Returns
ITableRow
detach
detach
(
)
:
void
Returns
void
dispose
dispose
(
)
:
void
Returns
void
get
Actions
get
Actions
(
container
?:
string
)
:
any
[]
Parameters
Optional
container:
string
Returns
any
[]
get
Layout
Elements
get
Layout
Elements
(
container
?:
string
)
:
ILayoutElement
[]
Parameters
Optional
container:
string
Returns
ILayoutElement
[]
get
Property
Value
get
Property
Value
(
propertyName
:
string
, defaultValue
?:
any
)
:
any
Parameters
propertyName:
string
Optional
defaultValue:
any
Returns
any
Protected
get
Property
Value
Core
get
Property
Value
Core
(
propertyName
:
string
, defaultValue
?:
any
)
:
any
Parameters
propertyName:
string
Optional
defaultValue:
any
Returns
any
get
Style
Val
get
Style
Val
(
elm
:
any
, css
:
any
)
:
string
Parameters
elm:
any
css:
any
Returns
string
Protected
load
Rows
Batch
load
Rows
Batch
(
limit
:
number
, offset
:
number
, back
?:
boolean
)
:
void
Parameters
limit:
number
offset:
number
back:
boolean
= false
Returns
void
log
Mouse
Down
log
Mouse
Down
(
d
:
any
, e
:
any
)
:
void
Parameters
d:
any
e:
any
Returns
void
log
Mouse
Move
log
Mouse
Move
(
d
:
any
, e
:
any
)
:
void
Parameters
d:
any
e:
any
Returns
void
log
Mouse
Out
log
Mouse
Out
(
d
:
any
, e
:
any
)
:
void
Parameters
d:
any
e:
any
Returns
void
log
Mouse
Over
log
Mouse
Over
(
d
:
any
, e
:
any
)
:
void
Parameters
d:
any
e:
any
Returns
void
log
Mouse
Up
log
Mouse
Up
(
d
:
any
, e
:
any
)
:
boolean
Parameters
d:
any
e:
any
Returns
boolean
navigate
To
navigate
To
(
startRow
:
number
)
:
void
Parameters
startRow:
number
Returns
void
Protected
on
Property
Value
Changed
on
Property
Value
Changed
(
propertyName
:
string
, oldValue
:
any
, newValue
:
any
)
:
void
Parameters
propertyName:
string
oldValue:
any
newValue:
any
Returns
void
padding
Diff
padding
Diff
(
col
:
any
)
:
number
Parameters
col:
any
Returns
number
refresh
refresh
(
)
:
void
Returns
void
register
Plugin
register
Plugin
(
plugin
:
ITablePlugin
)
:
ITablePlugin
Parameters
plugin:
ITablePlugin
Returns
ITablePlugin
register
Property
Value
Listner
register
Property
Value
Listner
(
propertyName
:
string
, listner
:
(
(
oldValue
:
any
, newValue
:
any
)
=>
void
)
, key
?:
string
)
:
void
Parameters
propertyName:
string
listner:
(
(
oldValue
:
any
, newValue
:
any
)
=>
void
)
(
oldValue
:
any
, newValue
:
any
)
:
void
Parameters
oldValue:
any
newValue:
any
Returns
void
key:
string
= null
Returns
void
remove
Layout
Element
remove
Layout
Element
(
elementName
:
string
)
:
ILayoutElement
Parameters
elementName:
string
Returns
ILayoutElement
Protected
select
Row
select
Row
(
row
:
ITableRow
, event
:
any
)
:
void
Parameters
row:
ITableRow
event:
any
Returns
void
Protected
selection
Changed
selection
Changed
(
)
:
void
Returns
void
set
Property
Value
set
Property
Value
(
propertyName
:
string
, newValue
:
any
, defaultValue
?:
any
)
:
void
Parameters
propertyName:
string
newValue:
any
Optional
defaultValue:
any
Returns
void
Protected
set
Property
Value
Core
set
Property
Value
Core
(
propertyName
:
string
, newValue
:
any
)
:
void
Parameters
propertyName:
string
newValue:
any
Returns
void
un
Register
Property
Value
Listner
un
Register
Property
Value
Listner
(
propertyName
:
string
, key
?:
string
)
:
void
Parameters
propertyName:
string
key:
string
= null
Returns
void
unregister
Plugin
unregister
Plugin
(
pluginName
:
string
)
:
ITablePlugin
Parameters
pluginName:
string
Returns
ITablePlugin
Static
create
Properties
Storage
create
Properties
Storage
(
)
:
HashTableStorage
Returns
HashTableStorage
Static
finish
Collect
Dependencies
finish
Collect
Dependencies
(
)
:
Dependencies
Returns
Dependencies
Static
start
Collect
Dependencies
start
Collect
Dependencies
(
updater
:
(
(
)
=>
void
)
, target
:
Base
, property
:
string
)
:
void
Parameters
updater:
(
(
)
=>
void
)
(
)
:
void
Returns
void
target:
Base
property:
string
Returns
void
Exports
Icons
Table
constructor
_data
Provider
_detach
Handler
allow
Row
Selection
columns
config
cur
Col
cur
Col
Width
edit
Mode
element
icons
inner
Actions
is
Merged
Cells
is
Number
last
Offset
last
Offset
Back
last
Select
Row
layout
Elemets
load
Batch
Size
load
More
load
More
Back
loading
Mutex
nxt
Col
nxt
Col
Width
pageX
plugins
rows
show
Search
show
Table
Summary
start
Row
table
Head
Height
total
Count
row
Height
bottom
Actions
column
Header
Actions
data
data
Provider
dropdown
Actions
key
Column
no
Data
Text
row
Actions
selected
Rows
top
Actions
add
Layout
Element
attach
click
Column
click
Row
create
Actions
create
Column
create
Columns
create
Row
detach
dispose
get
Actions
get
Layout
Elements
get
Property
Value
get
Property
Value
Core
get
Style
Val
load
Rows
Batch
log
Mouse
Down
log
Mouse
Move
log
Mouse
Out
log
Mouse
Over
log
Mouse
Up
navigate
To
on
Property
Value
Changed
padding
Diff
refresh
register
Plugin
register
Property
Value
Listner
remove
Layout
Element
select
Row
selection
Changed
set
Property
Value
set
Property
Value
Core
un
Register
Property
Value
Listner
unregister
Plugin
create
Properties
Storage
finish
Collect
Dependencies
start
Collect
Dependencies
Do you still have questions?
Name
E-mail
Message
Send
Your message has been sent successfully!
We will contact you soon
Send a new message
Creates Table class.
table options.