Pro Pack
Docs HomeProduct SiteSupport
  • Introduction
  • Installation
  • Chart.js
    • Configuration
    • Data Binding
    • Data Labels
  • Dataset Filter Labels
    • Installation
    • Configuration
    • Data Binding
  • DataTables
    • Configuration
    • Data Binding
    • Events
    • Methods
  • Date Range Picker
    • Configuration
    • Data Binding
    • Methods
  • iCheck
    • List
      • Configuration
      • Data Binding
      • Events
    • Filter
      • Configuration
      • Data Binding
  • Select2
    • Configuration
    • Data Binding
    • Events
    • Methods
  • Sparklines
    • Installation
    • Configuration
    • Data Binding
  • Toastr
    • Configuration
  • Web Frameworks
Powered by GitBook
On this page

Was this helpful?

  1. DataTables

Events

PreviousData BindingNextMethods

Last updated 3 years ago

Was this helpful?

DataTables for WireBootstrap extends the class. As such, it inherits all its base events.

The following events are added to DataTables for WireBootstrap.

Name

Description

rowClick(config)

Raised whenever a row is clicked in the component passing the standard WireBootstrap . This bubbles the native click event on the table row tr element with additional data and context.

select(config)

Raised whenever items (rows, columns or cells) are selected in the component passing the standard WireBootstrap .

deselect(config)

Raised whenever items (rows, columns or cells) are deselected in the component passing the standard WireBootstrap <user event data>.

rowDblClick(config)

Raised whenever a row is double clicked in the component passing the standard WireBootstrap . This bubbles the native dblclick event on the table row tr element with additional data and context.

new wire.datatables().render("#select", {
    ...
    events: {
        select: (config) => {
            ...
        }    
    }
});
wire.ui.component
user event data
user event data
user event data