Skip to content

Events

do-search Required

NameDescriptionHintType
do-searchInitiates a search operation on the table.Required in default mode, optional in static mode.(offset: Number, limit: Number, order: string, sort: string) => void
Arguments Required
NameDescriptionType
offsetThe offset value for the database query.Number
limitThe limit value for the database query.Number
orderThe order field for sorting the database results.string
sortThe sorting direction for the database results.string

is-finished

NameDescriptionType
is-finishedCalled when table rendering is finished.(elements: Array) => void
Argument
NameDescriptionType
elementsAn array of elements with the 'is-rows-el' class name.Array

return-checked-rows

NameDescriptionType
return-checked-rowsCalled when rows are checked in the table.(rowsKey: Number) => void
Argument
NameDescriptionType
rowsKeyThe key field name of the checked row.Number

get-now-page

NameDescriptionType
get-now-pageCalled to retrieve the current page number of the table.(pageNo: Number) => void
Argument
NameDescriptionType
pageNoThe current page number.Number

row-clicked

NameDescriptionType
row-clickedCalled when a row in the table is clicked.(rowData: Object) => void
Argument
NameDescriptionType
rowDataThe data associated with the clicked row.Object

row-toggled

NameDescriptionType
row-toggledCalled when rows in a grouping table are toggled (expanded or collapsed).(rows: Array, isCollapsed: Boolean) => void
Arguments
NameDescriptionType
rowsAn array of grouping rows.Array
isCollapsedIndicates whether the rows are collapsed or not.Boolean