Members
-
handler :Handler
-
Description
Handler associated with the table typeDetails
-
settings :Settings
-
Description
Settings object used to get various values for the datatable & other componentsDetails
-
id
-
Description
Retrieves the Id of the table typeReturns
Details
Methods
-
setFilterHandler( closure ) → {this}
-
Description
Defines the function used to filter dataParameters
Name Type Description closure
function The function to use for sorting. Returns
Details
-
setSortHandler( closure ) → {this}
-
Description
Defines the function used to sort dataParameters
Name Type Description closure
function The function to use for sorting. Returns
Details
-
setPaginateHandler( closure ) → {this}
-
Description
Defines the function used to paginate dataParameters
Name Type Description closure
function The function to use for pagination. Returns
Details
-
setting( path [, value ] ) → {this|*}
-
Description
Get or set a Settings value at a specific pathParameters
Name Type Attributes Description path
string | number | Array.<(string|number)> Path to the setting value to get/set value
* <optional> If omitted, this method will *get* the value at the specified `path`. Otherwise, it will *set* the value. Returns
Details
-
mergeSettings( settings ) → {this}
-
Description
Merge a settings object with the TableType#settings object of the instance.Parameters
Name Type Description settings
SettingsProps Values to merge Returns
Details
-
getTableDefinition() → {VueDatatable}
-
Description
Factory function that copy the VueDatatable prototype, and configure as this type.Returns
Details
-
getPagerDefinition() → {VueDatatablePager}
-
Description
Factory function that copy the VueDatatablePager prototype, and configure as this type.Returns
Details
-
clone( obj ) → {*}
-
Description
Deep clone a valueParameters
Name Type Description obj
* The value to clone Returns
Details
-
setDisplayHandler( closure ) → {this}
-
Description
Defines the function used to paginate dataParameters
Name Type Description closure
function The function to use to post-process processed steps & extract rows & total count. Returns
Details