Search
Preparing search index...
The search index is not available
ngTable API Reference
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
NgTableController
Class NgTableController<TParams, TCol>
The controller for the
ngTable
and
ngTableDynamic
directives
Type parameters
TParams
TCol
:
IColumnDef
|
IDynamicTableColDef
Hierarchy
NgTableController
Index
Constructors
constructor
Properties
$attrs
$compile
$document
$element
$parse
$scope
delay
Filter
ng
Table
Column
ng
Table
Events
Channel
$inject
Accessors
has
Visible
Filter
Column
Methods
build
Columns
compile
Directive
Templates
get
Visible
Columns
load
Filter
Data
on
Data
Reload
Status
Change
parse
NgTable
Dynamic
Expr
setup
Bindings
ToInternal
Scope
setup
Filter
Row
Bindings
ToInternal
Scope
setup
Group
Row
Bindings
ToInternal
Scope
some
subscribe
ToTable
Events
Constructors
constructor
new
NgTable
Controller
(
$scope
:
ITableScope
<
TParams
>
, $timeout
:
ITimeoutService
, $parse
:
IParseService
, $compile
:
ICompileService
, $attrs
:
IAttributes & ITableInputAttributes
, $element
:
IAugmentedJQuery
, $document
:
IDocumentService
, ngTableColumn
:
NgTableColumn
<
TCol
>
, ngTableEventsChannel
:
NgTableEventsChannel
)
:
NgTableController
Parameters
$scope:
ITableScope
<
TParams
>
$timeout:
ITimeoutService
$parse:
IParseService
$compile:
ICompileService
$attrs:
IAttributes & ITableInputAttributes
$element:
IAugmentedJQuery
$document:
IDocumentService
ngTableColumn:
NgTableColumn
<
TCol
>
ngTableEventsChannel:
NgTableEventsChannel
Returns
NgTableController
Properties
Private
$attrs
$attrs
:
IAttributes & ITableInputAttributes
Private
$compile
$compile
:
ICompileService
Private
$document
$document
:
IDocumentService
Private
$element
$element
:
IAugmentedJQuery
Private
$parse
$parse
:
IParseService
Private
$scope
$scope
:
ITableScope
<
TParams
>
Private
delay
Filter
delay
Filter
:
function
Type declaration
(
callback
:
function
, ms
:
number
)
:
void
Parameters
callback:
function
(
)
:
void
Returns
void
ms:
number
Returns
void
Private
ng
Table
Column
ng
Table
Column
:
NgTableColumn
<
TCol
>
Private
ng
Table
Events
Channel
ng
Table
Events
Channel
:
NgTableEventsChannel
Static
$inject
$inject
:
Array
<
string
>
= ['$scope', '$timeout', '$parse', '$compile', '$attrs', '$element', '$document', 'ngTableColumn', 'ngTableEventsChannel']
Accessors
Private
has
Visible
Filter
Column
get
hasVisibleFilterColumn
(
)
:
boolean
Returns
boolean
Methods
build
Columns
build
Columns
(
columns
:
TCol
[]
)
:
IColumnDef
[]
Parameters
columns:
TCol
[]
Returns
IColumnDef
[]
compile
Directive
Templates
compile
Directive
Templates
(
)
:
void
Returns
void
Private
get
Visible
Columns
get
Visible
Columns
(
)
:
Array
<
IColumnDef
>
Returns
Array
<
IColumnDef
>
load
Filter
Data
load
Filter
Data
(
$columns
:
IColumnDef
[]
)
:
void
Parameters
$columns:
IColumnDef
[]
Returns
void
Private
on
Data
Reload
Status
Change
on
Data
Reload
Status
Change
(
newStatus
:
boolean
)
:
void
Parameters
newStatus:
boolean
Returns
void
parse
NgTable
Dynamic
Expr
parse
NgTable
Dynamic
Expr
(
attr
:
string
)
:
object
Parameters
attr:
string
Returns
object
columns
:
string
table
Params
:
string
setup
Bindings
ToInternal
Scope
setup
Bindings
ToInternal
Scope
(
tableParamsExpr
:
string
)
:
void
Parameters
tableParamsExpr:
string
Returns
void
Private
setup
Filter
Row
Bindings
ToInternal
Scope
setup
Filter
Row
Bindings
ToInternal
Scope
(
)
:
void
Returns
void
Private
setup
Group
Row
Bindings
ToInternal
Scope
setup
Group
Row
Bindings
ToInternal
Scope
(
)
:
void
Returns
void
Private
some
some<T>
(
array
:
T
[]
, predicate
:
function
)
:
boolean
Type parameters
T
Parameters
array:
T
[]
predicate:
function
(
item
:
T
)
:
boolean
Parameters
item:
T
Returns
boolean
Returns
boolean
Private
subscribe
ToTable
Events
subscribe
ToTable
Events
(
)
:
void
Returns
void
Globals
Ng
Table
Controller
constructor
$attrs
$compile
$document
$element
$parse
$scope
delay
Filter
ng
Table
Column
ng
Table
Events
Channel
$inject
has
Visible
Filter
Column
build
Columns
compile
Directive
Templates
get
Visible
Columns
load
Filter
Data
on
Data
Reload
Status
Change
parse
NgTable
Dynamic
Expr
setup
Bindings
ToInternal
Scope
setup
Filter
Row
Bindings
ToInternal
Scope
setup
Group
Row
Bindings
ToInternal
Scope
some
subscribe
ToTable
Events
Generated using
TypeDoc
The controller for the ngTable and ngTableDynamic directives